From 636be471985e9ea9942bf1a2e6797c1f50470390 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Fri, 8 Mar 2024 11:58:45 -0700 Subject: [PATCH] Run display.pl with proper PATH --- sway/idle.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sway/idle.sh b/sway/idle.sh index 1dba924..137ba08 100755 --- a/sway/idle.sh +++ b/sway/idle.sh @@ -128,6 +128,9 @@ elif [[ $1 == "sleep" ]]; then elif [[ $1 == "unsleep" ]]; then for i in $(cat $OPFILE); do swaymsg "output $i dpms on"; done #$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 if [[ $IDLEMODE -gt 4 ]]; then sudo systemctl suspend-then-hibernate.target