Compare commits

...

5 commits

3 changed files with 14 additions and 14 deletions

View file

@ -10,18 +10,18 @@ Newest first.
<details>
<summary>Screenshot 1</summary>
<img src="https://i.imgur.com/6Yfmhcj.png" />
<img width=400px src="https://i.imgur.com/LE4OC55.png" />
<img width=400px src="https://i.imgur.com/cV0EzEw.png" />
<br><a href="https://i.imgur.com/3EL63Ur.jpeg">Wallpaper link</a>
<img src="https://i.imgur.com/rVFRtST.png" />
<img width=400px src="https://i.imgur.com/eVultId.png" />
<img width=400px src="https://i.imgur.com/NeX9430.png" />
<br><a href="https://i.imgur.com/XG8bA49.jpeg">Wallpaper link</a>
</details>
<details>
<summary>Screenshot 2</summary>
<img src="https://i.imgur.com/eX9W9Wf.png" />
<img width=400px src="https://i.imgur.com/sTWAPIT.png" />
<img width=400px src="https://i.imgur.com/jj1HlRv.png" />
<br><a href="https://i.imgur.com/SNEPYVe.jpeg">Wallpaper link</a>
<img src="https://i.imgur.com/6Yfmhcj.png" />
<img width=400px src="https://i.imgur.com/LE4OC55.png" />
<img width=400px src="https://i.imgur.com/cV0EzEw.png" />
<br><a href="https://i.imgur.com/3EL63Ur.jpeg">Wallpaper link</a>
</details>
<details>

View file

@ -41,7 +41,7 @@ in
description = "The fan control";
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStop = "${wm2fc}/bin/wm2fc a";
# ExecStop = "${wm2fc}/bin/wm2fc a";
Type = "simple";
};
path = with pkgs; [
@ -49,8 +49,8 @@ in
wm2fc
];
script = ''
old=0
oldtemp=0
old=-1
oldtemp=-1
smooth=0
while true; do
temp=$(cat /sys/devices/pci0000\:00/0000\:00\:18.3/hwmon/*/temp1_input)
@ -63,7 +63,7 @@ in
elif [ $temp -gt 60000 ]
then value=92
elif [ $temp -gt 55000 ]
then value=69
then value=52
elif [ $temp -gt 45000 ]
then value=46
elif [ $temp -gt 40000 ]

View file

@ -1,8 +1,8 @@
# Download the wallpaper here.
{ pkgs, lib, ... }:
let
url = "https://i.imgur.com/XG8bA49.jpeg";
sha256 = "sha256-xVdZ8wSN+PMoX1z7mdF9d4Gklxt41jASvz/LYtfGosE=";
url = "https://i.imgur.com/rkVxIDu.jpeg";
sha256 = "sha256-/tOlzcICzIwp74g8iAqMPmS0RQC5BzoTmgP4o/JNbq8=";
forceContrastText = false;
in
{