From 1728a04d6017580eb4beed79db145d8bcae6f515 Mon Sep 17 00:00:00 2001 From: benj Date: Wed, 1 Apr 2026 16:09:33 +0800 Subject: move .setup to .mycfg --- scripts/format_displays.sh | 2 +- scripts/toggle-xray.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100755 scripts/toggle-xray.sh (limited to 'scripts') 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 -- cgit v1.2.3