Run display.pl with proper PATH
This commit is contained in:
parent
fcf2b91b7b
commit
636be47198
|
@ -128,6 +128,9 @@ elif [[ $1 == "sleep" ]]; then
|
||||||
elif [[ $1 == "unsleep" ]]; then
|
elif [[ $1 == "unsleep" ]]; then
|
||||||
for i in $(cat $OPFILE); do swaymsg "output $i dpms on"; done
|
for i in $(cat $OPFILE); do swaymsg "output $i dpms on"; done
|
||||||
#$HOME/scripts/sway/displays.pl
|
#$HOME/scripts/sway/displays.pl
|
||||||
|
cd $HOME/scripts/sway
|
||||||
|
source $HOME/.dotfiles/bash/plenv-path.sh
|
||||||
|
$HOME/scripts/sway/displays.pl 2>&1 >$HOME/.spool/display_unsleep
|
||||||
elif [[ $1 == "hibernate" ]]; then
|
elif [[ $1 == "hibernate" ]]; then
|
||||||
if [[ $IDLEMODE -gt 4 ]]; then
|
if [[ $IDLEMODE -gt 4 ]]; then
|
||||||
sudo systemctl suspend-then-hibernate.target
|
sudo systemctl suspend-then-hibernate.target
|
||||||
|
|
Loading…
Reference in New Issue