added sway

- scape swap for sway
- added urxvt to sway config
- added window rules to sway
- added set wallpaper to autostart for swaybg
- switched to vesktop on autostart
- changed split binds
- border toggle
- added sway
- added sway stuff
- changed reqs to use /etc/os-release ID
This commit is contained in:
2025-07-26 15:37:54 -05:00
parent 6c9643ba74
commit 9276e2300a
9 changed files with 599 additions and 23 deletions

View File

@@ -1,17 +1,16 @@
#!/bin/bash
cd "$(dirname "$0")"
extra=0
if [ "$(cat /etc/hostname)" == "Kasino" ]; then
extra=0
fi
if [ "$(cat /etc/hostname)" == "Witchen" ]; then
extra=1
fi
sleep 0.1
xset s 0
nitrogen --restore &
if [ "$XDG_CURRENT_DESKTOP" == "sway:wlroots" ]; then
PID=$(pidof swaybg)
swaybg -o HDMI-A-1 -i "/home/iceyrazor/stuff/media/wallpapers/6b06108fa3bc46f5.jpg" -m fill -o DP-1 -i "/home/iceyrazor/stuff/media/wallpapers/tumblr_06bbd355f3e355049446dac24f6e7c44_2c486f77_1280 ninesols.jpg" -m fill & disown
sleep 0.4s
kill $PID
fi
xrdb -merge /home/iceyrazor/.Xresources &
if [ -z "$WAYLAND_DISPLAY" ]; then
@@ -19,11 +18,9 @@ if [ -z "$WAYLAND_DISPLAY" ]; then
setxkbmap -option caps:swapescape
fi
# if [ $extra == 1 ]; then
# if [ -z $(pgrep -f stbar.sh) ]; then
# # ~/stuff/scripts/system/stbar/stbar.sh &
# fi
# fi
# added openrc services... may go back to this later
# pipewire & disown
@@ -33,9 +30,6 @@ fi
# pipewire-pulse & disown
sleep 0.5s
# fcitx5 -d
# this program running all the time causes weird key input bugs and lag. i only want to use this when typing special stuff.
if [ "$WAYLAND_DISPLAY" ] && [ -z "$(pgrep -f waybar)" ]; then
waybar & disown
fi
@@ -56,7 +50,7 @@ fi
if [ "$(cat /etc/hostname)" == "Kasino" ]; then
if [ -z "$(pgrep vesktop)" ]; then
sleep 2s
dbus-run-session discord & disown
dbus-run-session vesktop & disown
fi
if [ -z "$(pgrep gajim)" ]; then