mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-21 01:34:34 +05:30
Fixes sct script
This commit is contained in:
parent
a92b9207f9
commit
52994557bd
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue