Fixes sct script
This commit is contained in:
@@ -283,10 +283,14 @@
|
|||||||
pamixer
|
pamixer
|
||||||
(pkgs.writeScriptBin "sct" ''
|
(pkgs.writeScriptBin "sct" ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
killall wlsunset
|
killall wlsunset &> /dev/null;
|
||||||
temphigh=$(( $1 + 1 ))
|
if [ $# -eq 1 ]; then
|
||||||
templow=$1
|
temphigh=$(( $1 + 1 ))
|
||||||
wlsunset -t $templow -T $temphigh &> /dev/null &
|
templow=$1
|
||||||
|
wlsunset -t $templow -T $temphigh &> /dev/null &
|
||||||
|
else
|
||||||
|
killall wlsunset &> /dev/null;
|
||||||
|
fi
|
||||||
'')
|
'')
|
||||||
(pkgs.writeScriptBin "hyprworkspace" ''
|
(pkgs.writeScriptBin "hyprworkspace" ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
Reference in New Issue
Block a user