]> git.armaanb.net Git - bin.git/blobdiff - autostart
git-mirror: minify HTML
[bin.git] / autostart
index 3c297decca89b53bbafd374f5ef5cfec8c93c743..0bf5b7504f12683fc71354513093e449c7c301f6 100755 (executable)
--- a/autostart
+++ b/autostart
@@ -1,7 +1,15 @@
 #!/usr/bin/env sh
 
-xsetroot -solid "#282828"
-batsignal -b
-/home/armaa/Code/scripts/keyboard-swap
-redshift -l 42:-71 -t 6500:2500 &
-dunst &
+wal="/home/armaa/.local/share/wallpaper.png"
+if [ -f "$wal" ]; then
+  feh --bg-scale "$wal"
+else
+  hsetroot -solid "#282828"
+fi
+
+setxkbmap -option "ctrl:swapcaps"
+pkill xcape ; xcape
+pkill batsignal ; batsignal -b
+pkill redshift ; redshift -l 42.2:-71.3 -t 6500:2500 &
+pkill dunst ; dunst &
+pkill picom ; picom -b --experimental-backends