aboutsummaryrefslogtreecommitdiff
path: root/env/.local/bin/system/start-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'env/.local/bin/system/start-scripts')
-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