mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-20 17:24:35 +05:30
Fixes sct script
This commit is contained in:
parent
a92b9207f9
commit
52994557bd
|
@ -283,10 +283,14 @@
|
|||
pamixer
|
||||
(pkgs.writeScriptBin "sct" ''
|
||||
#!/bin/sh
|
||||
killall wlsunset
|
||||
temphigh=$(( $1 + 1 ))
|
||||
templow=$1
|
||||
wlsunset -t $templow -T $temphigh &> /dev/null &
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue