refactor: moved useful scripts from the bspwm folder to more appropriate locations;

fix: checkupdates script for fastfetch causing delays;
chore: removed bspwm and picom since I haven't been using or maintaining them
This commit is contained in:
2025-11-17 17:50:56 +03:00
parent 66079e3a59
commit 761b4e2bac
29 changed files with 31 additions and 1376 deletions

View File

@@ -38,17 +38,17 @@ exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark"
exec-once = swww-daemon
exec-once = ~/.config/hypr/scripts/autofreeze_swww.sh
exec-once = waybar & hypridle & hyprsunset &
exec-once = eww daemon
exec-once = mullvad-vpn
exec-once = swaync
exec-once = ~/.config/hypr/scripts/random_wallpaper.sh
exec-once = ~/.config/hypr/scripts/autofreezer.sh
exec-once = ~/.config/bspwm/checkupdates.sh
exec-once = ~/.config/fastfetch/scripts/fetch_update_count.sh
exec-once = copyq --start-server
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
exec-once = thunar --daemon
exec-once = touch /tmp/toggle_ssocks
exec-once = ~/.config/bspwm/proxy.sh &
exec-once = ~/.config/bspwm/checkupdates.sh
exec-once = ~/.config/hypr/scripts/toggle_proxy.sh
exec-once = nextcloud --background &
exec-once = [workspace 8 silent] Telegram
# exec-once = [workspace 7 silent] superproductivity

17
hypr/scripts/toggle_proxy.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
TOGGLE_FILE="/tmp/toggle_ssocks"
if [ -f "$TOGGLE_FILE" ]; then
echo "Enabling spoofdpi"
killall sslocal
http_proxy="" spoof-dpi -addr 127.0.0.1 -port 1080 &
rm "$TOGGLE_FILE"
else
echo "Enabling shadowsocks"
killall spoof-dpi
http_proxy="" sslocal -c /etc/shadowsocks-rust/mega.json &
touch "$TOGGLE_FILE"
fi