Fixes sct script

This commit is contained in:
Emmet 2023-09-30 22:48:48 -05:00
parent a92b9207f9
commit 52994557bd

View file

@ -283,10 +283,14 @@
pamixer
(pkgs.writeScriptBin "sct" ''
#!/bin/sh
killall wlsunset
killall wlsunset &> /dev/null;
if [ $# -eq 1 ]; then
temphigh=$(( $1 + 1 ))
templow=$1
wlsunset -t $templow -T $temphigh &> /dev/null &
else
killall wlsunset &> /dev/null;
fi
'')
(pkgs.writeScriptBin "hyprworkspace" ''
#!/bin/sh