]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/i3/files/config.jinja
Modify startup programs
[max/saltfiles.git] / states / i3 / files / config.jinja
index d0932ebf13724f5cb06d6bd42a9a7c4ffc6ae326..b4ca2db4235aab0b2bf7fd9cfa850712faab975c 100644 (file)
@@ -41,7 +41,7 @@ font pango:monospace 10
 # The combination of xss-lock, nm-applet and pactl is a popular choice, so
 # they are included here as an example. Modify as you see fit.
 
-exec xset dpms 300 600 0
+exec xset dpms 600 900 0
 # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
 # screen before suspend. Use loginctl lock-session to lock your screen.
 exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock -i ~/Pictures/lockscreen_full_blurred_1.png --nofork
@@ -257,6 +257,9 @@ bar {
   }
 }
 
+focus_on_window_activation urgent
+no_focus [class="(!?.*pinentry.*)"]
+
 workspace 2 output HDMI-A-1
 workspace 4 output HDMI-A-1
 workspace 1 output DP-1
@@ -267,13 +270,15 @@ workspace $chat output DP-1
 
 assign [class="music"] workspace $music
 for_window [class="music"] move workspace number $music
+assign [class="spotify"] workspace $music
+for_window [class="spotify"] move workspace number $music
 assign [class="qutebrowser"] workspace number $ws1
 for_window [class="qutebrowser"] move workspace number $ws1
 assign [class="zoom"] workspace $chat
 for_window [class="zoom"] move workspace $chat
 
-exec "termite --name 'music' -e 'tmux'"
 exec "zoom"
+exec "spotify"
 
 {% elif host == 'dubnium' %}
 bar {