Compare commits

...

5 commits

3 changed files with 14 additions and 14 deletions

View file

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

View file

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

View file

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