X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fi3%2Ffiles%2Fconfig.jinja;h=b1a054ae782300f2417f8db7d9e8cac453c0b6f9;hb=6580ed7f1f88fb45acca92432b4e500c090cfcc4;hp=a5e95fc9fb2bddbc66ed22ff05bf014a0719653e;hpb=a939297493433d7dffcdb882ce5d0447858c32ed;p=max%2Fsaltfiles.git diff --git a/states/i3/files/config.jinja b/states/i3/files/config.jinja index a5e95fc..b1a054a 100644 --- a/states/i3/files/config.jinja +++ b/states/i3/files/config.jinja @@ -41,6 +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 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 @@ -210,7 +211,7 @@ bar { id bar_left position top output "HDMI-1" - font pango:Liberation Mono 12 + font pango:Liberation Mono 11 colors { background $black_super focused_background $black @@ -243,8 +244,8 @@ bar { id bar_right status_command ~/.local/bin/conky-i3bar position top - output "DP-1" - font pango:Liberation Mono 12 + output "DVI-I-2-1" + font pango:Liberation Mono 13 colors { background $black_super focused_background $black @@ -256,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 @@ -266,19 +270,21 @@ 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 { id bar_left position top - output "DVI-D-1" + output "DVI-D-0" font pango:Liberation Mono 12 colors { background $black_super @@ -295,7 +301,7 @@ bar { id bar_right status_command ~/.local/bin/conky-i3bar position top - output "DP-1" + output "DP-2" font pango:Liberation Mono 12 colors { background $black_super