X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fi3%2Ffiles%2Fconfig.jinja;h=aa31ec3c18527a41011b9973470d25451b0e6f1c;hb=39f1e517ede6aff07a4a2015d2483d0046b65a48;hp=d35f003779b4dcae4e82ad29095caf81d58a3316;hpb=29cc8a08d12604b2c6611fe8c60ff79f950f6117;p=max%2Fsaltfiles.git diff --git a/states/i3/files/config.jinja b/states/i3/files/config.jinja index d35f003..aa31ec3 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 @@ -137,7 +138,6 @@ set $ws8 "8" set $ws9 "9" set $ws10 "10" -set $music "Music" set $chat "Chat" # switch to workspace @@ -151,7 +151,6 @@ bindsym $mod+7 workspace number $ws7 bindsym $mod+8 workspace number $ws8 bindsym $mod+9 workspace number $ws9 bindsym $mod+0 workspace number $ws10 -bindsym $mod+m workspace $music bindsym $mod+z workspace $chat # move focused container to workspace @@ -165,7 +164,6 @@ bindsym $mod+Shift+7 move container to workspace number $ws7 bindsym $mod+Shift+8 move container to workspace number $ws8 bindsym $mod+Shift+9 move container to workspace number $ws9 bindsym $mod+Shift+0 move container to workspace number $ws10 -bindsym $mod+Shift+m move container to workspace $music bindsym $mod+Shift+z move container to workspace $chat # reload the configuration file @@ -208,9 +206,10 @@ gaps inner 6 {% if host == 'barium' %} bar { id bar_left + status_command ~/.local/bin/conky-i3bar position top - output "HDMI-1" - font pango:Liberation Mono 12 + output "DP-1" + font pango:Liberation Mono 11 colors { background $black_super focused_background $black @@ -243,8 +242,8 @@ bar { id bar_right status_command ~/.local/bin/conky-i3bar position top - output "DP-1" - font pango:Liberation Mono 12 + output "DP-2" + font pango:Liberation Mono 13 colors { background $black_super focused_background $black @@ -256,29 +255,28 @@ 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 workspace 3 output DP-1 -workspace $music output DP-1 -workspace $chat output DP-1 +workspace $chat output DP-1 -assign [class="music"] workspace $music -for_window [class="music"] 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" {% elif host == 'dubnium' %} bar { id bar_left position top - output "DVI-D-0" + output "DP-0" font pango:Liberation Mono 12 colors { background $black_super @@ -308,8 +306,8 @@ bar { } } -workspace 1 output DVI-D-1 -workspace 2 output DP-1 +workspace 1 output DP-0 +workspace 2 output DP-2 {% elif host == 'rhenium' %} bar {