Move sway-transparency to distrobox

Standardize script names
This commit is contained in:
John Mertz 2022-12-15 11:26:05 -05:00
parent e16a4d9851
commit 3e034fb461
Signed by: jpm
GPG Key ID: E9C5EA2D867501AB
2 changed files with 10 additions and 1 deletions

View File

@ -0,0 +1,9 @@
#!/bin/sh
# distrobox_binary
# name: debian12
cd /var/home/jpm/scripts/sway
if [ ! -f /run/.containerenv ] && [ ! -f /.dockerenv ]; then
/bin/distrobox-enter -n debian12 -- $HOME/.pyenv/shims/python3 ./sway-transparency.py "$@"
else
./sway-transparency.py "$@"
fi

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python3
# This script requires i3ipc-python package (install it from a system package manager
# or pip).