Run displays.pl from host using Carton libs

This commit is contained in:
John Mertz 2024-02-01 20:29:37 -07:00
parent e01d899666
commit ef298a2e23
2 changed files with 5 additions and 2 deletions

View File

@ -3,5 +3,7 @@ if [ -z ${SWAYSOCK+x} ]; then
i3 reload
else
swaymsg reload
distrobox-enter -n debian -- ${HOME}/scripts/sway/displays.pl
source ${HOME}/.dotfile/bash/bashrc
cd ${HOME}/scripts/sway
perl -Ilocal/lib/perl5/5.38.2 display.pl
fi

View File

@ -2,5 +2,6 @@
if [ -z ${SWAYSOCK+x} ]; then
i3 reload
else
${HOME}/scripts/sway/displays.pl -w
cd ${HOME}/scripts/sway
perl -Ilocal/lib/perl5/5.38.2 display.pl -w
fi