aboutsummaryrefslogtreecommitdiff
path: root/env/.local/bin
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2025-07-26 15:37:54 -0500
committericeyrazor <iceyrazor@mailfence.com>2025-07-26 15:37:54 -0500
commit9276e2300a21d2522365bf1fb9136a8db7704235 (patch)
tree80a9049f967f047e2a47d431aa166b4c69fc7a34 /env/.local/bin
parent6c9643ba745340c5da9cbf8ed1e1c830f657b907 (diff)
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
Diffstat (limited to 'env/.local/bin')
-rwxr-xr-xenv/.local/bin/system/start-scripts/autostart.sh22
1 files changed, 8 insertions, 14 deletions
diff --git a/env/.local/bin/system/start-scripts/autostart.sh b/env/.local/bin/system/start-scripts/autostart.sh
index ea51fdc..fb73060 100755
--- a/env/.local/bin/system/start-scripts/autostart.sh
+++ b/env/.local/bin/system/start-scripts/autostart.sh
@@ -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