From ef298a2e239a50ca5cce7a15e28fed00e4414724 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Thu, 1 Feb 2024 20:29:37 -0700 Subject: [PATCH] Run displays.pl from host using Carton libs --- tofi/power/↻ Reload Desktop | 4 +++- tofi/power/↻ Reload Toolbar | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tofi/power/↻ Reload Desktop b/tofi/power/↻ Reload Desktop index ff5e6d7..b49f522 100755 --- a/tofi/power/↻ Reload Desktop +++ b/tofi/power/↻ Reload Desktop @@ -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 diff --git a/tofi/power/↻ Reload Toolbar b/tofi/power/↻ Reload Toolbar index fded253..100df7a 100755 --- a/tofi/power/↻ Reload Toolbar +++ b/tofi/power/↻ Reload Toolbar @@ -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