aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/format_displays.sh2
-rwxr-xr-xscripts/toggle-xray.sh6
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