]> git.armaanb.net Git - bin.git/blobdiff - autostart
autostart: add --experimental-backends to picom
[bin.git] / autostart
index 35385d46fc9171920909c133646f14536a27a887..0bf5b7504f12683fc71354513093e449c7c301f6 100755 (executable)
--- a/autostart
+++ b/autostart
@@ -1,6 +1,15 @@
 #!/usr/bin/env sh
 
-redshift -l 42:-71 -t 6500:2500 &
-dunst &
-xsetroot -solid "#282828" &
-keyboard-swap &
+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