]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/i3/files/config.jinja
Configure for baryte on ubuntu
[max/saltfiles.git] / states / i3 / files / config.jinja
index aa31ec3c18527a41011b9973470d25451b0e6f1c..15a3bf24f2d22ac8bf9da0969d7893dd190af8a9 100644 (file)
@@ -63,7 +63,7 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU
 floating_modifier $mod
 
 # start a terminal
-bindsym $mod+Return exec termite
+bindsym $mod+Return exec i3-sensible-terminal
 
 # kill focused window
 bindsym $mod+Shift+q kill
@@ -200,8 +200,10 @@ mode "resize" {
 
 bindsym $mod+p mode "resize"
 
+{% if host != 'baryte' %}
 # Slight gaps around windows
 gaps inner 6
+{% endif %}
 
 {% if host == 'barium' %}
 bar {
@@ -272,6 +274,76 @@ for_window [class="zoom"] move workspace $chat
 
 exec "zoom"
 
+{% elif host == 'baryte' %}
+bar {
+  id bar_left
+  status_command ~/.local/bin/conky-i3bar
+  position top
+  output "DP-3"
+  font pango:Liberation Mono 11
+  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_internal
+  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
+  }
+}
+
+bar {
+  id bar_right
+  status_command ~/.local/bin/conky-i3bar
+  position top
+  output "DP-2"
+  font pango:Liberation Mono 13
+  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
+  }
+}
+
+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-3
+workspace 3 output DP-3
+
+workspace $chat output DP-3
+
+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"
+
+
 {% elif host == 'dubnium' %}
 bar {
   id bar_left