aboutsummaryrefslogtreecommitdiff
path: root/stuff
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2025-05-20 20:03:39 -0500
committericeyrazor <iceyrazor@mailfence.com>2025-05-20 20:03:39 -0500
commitf2312373509ab9d34c4b38b7c315bdb5ee6f9c11 (patch)
tree7fe6b3955ccc40314a2f8c079845a64013d325eb /stuff
parentbab502e1ef21d327e806e8f48870dc1b53f2b345 (diff)
added hyprland config
Diffstat (limited to 'stuff')
-rwxr-xr-xstuff/scripts/system/backup/backup.sh2
-rwxr-xr-xstuff/scripts/system/backup/copy-to-git.sh2
-rwxr-xr-xstuff/scripts/system/url-handler.sh8
3 files changed, 8 insertions, 4 deletions
diff --git a/stuff/scripts/system/backup/backup.sh b/stuff/scripts/system/backup/backup.sh
index aa633f6..1981ff4 100755
--- a/stuff/scripts/system/backup/backup.sh
+++ b/stuff/scripts/system/backup/backup.sh
@@ -15,7 +15,7 @@ fsyncb () {
fi
}
-syncfile="stuff .bash_profile .bashrc .surf/styles .gtkrc-2.0 .urlview .vimrc .xinitrc .Xresources .zshrc .p10k.zsh .gnupg .ssh .local/bin/lf-gadgets .config/dwm .config/wezterm .config/.profile .config/tmux .config/wireplumber .config/FreeTube .config/awesome .config/wlxoverlay .config/newsboat .config/vesktop/themes .config/fastfetch .config/gtk-3.0 .config/rofi .config/lf .config/mutt .config/zsh .config/picom.conf .config/nvim .config/atuin .config/screenkey.json .config/vesktop/themes .keepass .config/Pinta .config/cmus .config/cava .local/share/applications/custom .local/share/osu"
+syncfile="stuff .bash_profile .bashrc .surf/styles .gtkrc-2.0 .urlview .vimrc .xinitrc .Xresources .zshrc .p10k.zsh .gnupg .ssh .local/bin/lf-gadgets .config/dwm .config/wezterm .config/.profile .config/tmux .config/wireplumber .config/FreeTube .config/awesome .config/wlxoverlay .config/newsboat .config/vesktop/themes .config/fastfetch .config/gtk-3.0 .config/rofi .config/lf .config/mutt .config/zsh .config/picom.conf .config/nvim .config/atuin .config/screenkey.json .config/vesktop/themes .keepass .config/Pinta .config/cmus .config/cava .config/hypr .config/waybar .local/share/applications/custom .local/share/osu"
# se shit
syncfile="$syncfile /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/Blueprints /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/IngameScripts /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/Saves"
diff --git a/stuff/scripts/system/backup/copy-to-git.sh b/stuff/scripts/system/backup/copy-to-git.sh
index 3c66805..70720b6 100755
--- a/stuff/scripts/system/backup/copy-to-git.sh
+++ b/stuff/scripts/system/backup/copy-to-git.sh
@@ -11,7 +11,7 @@ fsync () {
fi
}
-syncfile=".urlview .vimrc .Xresources .bashrc .zshrc .p10k.zsh .config/.profile .config/wezterm .config/dwm .config/tmux .config/awesome .config/rofi .config/lf .config/picom.conf .config/nvim .config/atuin .config/screenkey.json .config/fastfetch stuff/manual-programs/suckless"
+syncfile=".urlview .vimrc .Xresources .bashrc .zshrc .p10k.zsh .config/.profile .config/wezterm .config/dwm .config/tmux .config/awesome .config/rofi .config/cava .config/hypr .config/waybar .config/picom.conf .config/nvim .config/atuin .config/screenkey.json .config/fastfetch stuff/manual-programs/suckless"
syncfile="$syncfile stuff/scripts/system/stbar stuff/scripts/system/url-handler.sh stuff/scripts/system/backup/copy-to-git.sh stuff/scripts/system/backup/backup.sh"
syncfile="$syncfile stuff/scripts/system/neoboot.sh stuff/scripts/system/math.sh stuff/scripts/system/bri.sh stuff/scripts/system/restart-pipe.sh stuff/scripts/system/set-pri-java.sh"
diff --git a/stuff/scripts/system/url-handler.sh b/stuff/scripts/system/url-handler.sh
index 5f626ce..30d7548 100755
--- a/stuff/scripts/system/url-handler.sh
+++ b/stuff/scripts/system/url-handler.sh
@@ -6,13 +6,17 @@ echo $url
choices="
clipboard
-firefox
+zen
"
choice=$(echo "$choices" | sed /^$/d | rofi -dmenu "$prompt_message")
if [ "$choice" == "clipboard" ]; then
- printf "$url" | xclip -selection clipboard
+ if [ -z $WAYLAND_DISPLAY ]; then
+ printf "$url" | xclip -selection clipboard
+ else
+ printf "$url" | wl-copy
+ fi
else
$choice "$url"
fi