aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorbenj <benj@rse8.com>2026-04-01 16:09:33 +0800
committerbenj <benj@rse8.com>2026-04-01 16:09:33 +0800
commit1728a04d6017580eb4beed79db145d8bcae6f515 (patch)
tree5684c3340c4d9fed586961c20d73765013826b41 /scripts
parentb7c0017dce62664719721fbc183834111271b5f2 (diff)
downloadmycfg-1728a04d6017580eb4beed79db145d8bcae6f515.tar
mycfg-1728a04d6017580eb4beed79db145d8bcae6f515.tar.gz
mycfg-1728a04d6017580eb4beed79db145d8bcae6f515.tar.bz2
mycfg-1728a04d6017580eb4beed79db145d8bcae6f515.tar.lz
mycfg-1728a04d6017580eb4beed79db145d8bcae6f515.tar.xz
mycfg-1728a04d6017580eb4beed79db145d8bcae6f515.tar.zst
mycfg-1728a04d6017580eb4beed79db145d8bcae6f515.zip
move .setup to .mycfg
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