displays.pl scipt run in Debian12 box

This commit is contained in:
John Mertz 2022-12-12 22:59:27 -05:00
parent b8dc57f829
commit 8baee20c35
1 changed files with 8 additions and 0 deletions

8
distrobox/debian12/displays.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
# distrobox_binary
# name: debian12
if [ ! -f /run/.containerenv ] && [ ! -f /.dockerenv ]; then
/bin/distrobox-enter -n debian12 -- /var/home/jpm/scripts/sway/displays.pl "$@"
else
/var/home/jpm/scripts/sway/displays.sh "$@"
fi