]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/i3/files/config.jinja
Use dunst instead of mako on i3
[max/saltfiles.git] / states / i3 / files / config.jinja
index eace6f815d3ba901ae409f2340f216721a6b2a3a..a5e95fc9fb2bddbc66ed22ff05bf014a0719653e 100644 (file)
@@ -202,6 +202,10 @@ mode "resize" {
 
 bindsym $mod+p mode "resize"
 
+# Slight gaps around windows
+gaps inner 6
+
+{% if host == 'barium' %}
 bar {
   id bar_left
   position top
@@ -252,9 +256,6 @@ bar {
   }
 }
 
-# Slight gaps around windows
-gaps inner 6
-
 workspace 2 output HDMI-A-1
 workspace 4 output HDMI-A-1
 workspace 1 output DP-1
@@ -273,5 +274,61 @@ for_window [class="zoom"] move workspace $chat
 exec "termite --name 'music' -e 'tmux'"
 exec "zoom"
 
-exec mako
+{% elif host == 'dubnium' %}
+bar {
+  id bar_left
+  position top
+  output "DVI-D-1"
+  font pango:Liberation Mono 12
+  colors {
+    background $black_super
+    focused_background $black
+    focused_workspace $black_super $yellow_super $black
+    active_workspace $black_super $blue_super $black
+    inactive_workspace $black_super $black_super $white_super
+    urgent_workspace $black $red_super $white
+    separator $white
+  }
+}
+
+bar {
+  id bar_right
+  status_command ~/.local/bin/conky-i3bar
+  position top
+  output "DP-1"
+  font pango:Liberation Mono 12
+  colors {
+    background $black_super
+    focused_background $black
+    focused_workspace $black_super $yellow_super $black
+    active_workspace $black_super $blue_super $black
+    inactive_workspace $black_super $black_super $white_super
+    urgent_workspace $black $red_super $white
+    separator $white
+  }
+}
+
+workspace 1 output DVI-D-1
+workspace 2 output DP-1
+
+{% elif host == 'rhenium' %}
+bar {
+  id bar_right
+  status_command ~/.local/bin/conky-i3bar
+  position top
+  output "eDP-1"
+  font pango:Liberation Mono 12
+  colors {
+    background $black_super
+    focused_background $black
+    focused_workspace $black_super $yellow_super $black
+    active_workspace $black_super $blue_super $black
+    inactive_workspace $black_super $black_super $white_super
+    urgent_workspace $black $red_super $white
+    separator $white
+  }
+}
+{% endif %}
+
+exec dunst
 exec picom -i 0.95 -D 4