diff options
Diffstat (limited to '')
| -rwxr-xr-x | scripts/format_displays.sh | 2 | ||||
| -rwxr-xr-x | scripts/toggle-xray.sh | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/scripts/format_displays.sh b/scripts/format_displays.sh index ce998b7..d67544a 100755 --- a/scripts/format_displays.sh +++ b/scripts/format_displays.sh @@ -4,7 +4,7 @@ DISPLAYS=( $(xrandr | grep " connected" | awk '{print $1}') ) declare -A DISP_RES -BG_IMG="~/.setup/des/i3/assets/wallpaper/yosemite_color_block.png" +BG_IMG="~/.mycfg/des/i3/assets/wallpaper/yosemite_color_block.png" VERBOSE="" if_echo () { diff --git a/scripts/toggle-xray.sh b/scripts/toggle-xray.sh new file mode 100755 index 0000000..a95ffd3 --- /dev/null +++ b/scripts/toggle-xray.sh @@ -0,0 +1,6 @@ +#!/bin/bash +if systemctl is-active --quiet xray; then + systemctl stop xray +else + systemctl start xray +fi |
