]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/i3/files/config.jinja
Use nitrogen to set backgrounds
[max/saltfiles.git] / states / i3 / files / config.jinja
index b1a054ae782300f2417f8db7d9e8cac453c0b6f9..aa31ec3c18527a41011b9973470d25451b0e6f1c 100644 (file)
@@ -138,7 +138,6 @@ set $ws8 "8"
 set $ws9 "9"
 set $ws10 "10"
 
-set $music "Music"
 set $chat "Chat"
 
 # switch to workspace
@@ -152,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
@@ -166,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
@@ -209,8 +206,9 @@ gaps inner 6
 {% if host == 'barium' %}
 bar {
   id bar_left
+  status_command ~/.local/bin/conky-i3bar
   position top
-  output "HDMI-1"
+  output "DP-1"
   font pango:Liberation Mono 11
   colors {
     background $black_super
@@ -244,7 +242,7 @@ bar {
   id bar_right
   status_command ~/.local/bin/conky-i3bar
   position top
-  output "DVI-I-2-1"
+  output "DP-2"
   font pango:Liberation Mono 13
   colors {
     background $black_super
@@ -265,26 +263,20 @@ 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="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 "zoom"
-exec "spotify"
 
 {% 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
@@ -314,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 {