Преглед на файлове

Update some window classes in #i3wm

Colin Powell преди 5 години
родител
ревизия
29aa114247
променени са 1 файла, в които са добавени 18 реда и са изтрити 2 реда
  1. 18 2
      i3/.config/i3/config

+ 18 - 2
i3/.config/i3/config

@@ -33,6 +33,8 @@ for_window [class="st"] border pixel $thick
 
 # FLOATING APPLICATIONS
 #for_window [class="Orca"] floating enable
+for_window [class="Foliate"] floating enable
+for_window [class="Foliate"] floating_maximum_size 800 x 400
 
 # GAP VARIABLES
 set $inner 12
@@ -45,6 +47,11 @@ gaps outer $outer
 
 # START POLYBAR
 exec_always --no-startup-id ~/.config/polybar/launch.sh
+#bar {
+#    position bottom
+#    position top
+#    status_command i3status
+#}
 
 # CUSTOM BINDINGS
 #bindsym $mod+shift+m exec --no-startup-id surf https://15five-dev.atlassian.net/secure/Dashboard.jspa
@@ -196,17 +203,26 @@ bindsym $mod+Ctrl+Mod2+KP_7 move container to workspace $ws7
 bindsym $mod+Ctrl+Mod2+KP_8 move container to workspace $ws8
 bindsym $mod+Ctrl+Mod2+KP_9 move container to workspace $ws9
 
+##=================================================##
+# Assign Workspaces:
+assign [class="Emacs"] $ws1
+assign [class=$browser] $ws2
+assign [class=$term] $ws3
+assign [class="calibre"] $ws5
+assign [class="Foliate"] $ws5
+
+
 ##### COLORS #######################################
 
 # XRESOURCES
-set $fg "#000066"
+set $fg "#660000"
 set $bg "#666666"
 set $tx "#FFFFFF"
 set $ltx "#CCCCCC"
 
 # CLASS                 BORDER  BACK    TEXT    INDICATOR
 client.focused          $fg     $fg     $tx     $fg
-client.focused_inactive $fg     $fg     $fg     $fg 
+client.focused_inactive $bg     $bg     $tx     $fg
 client.unfocused        $bg     $bg     $ltx     $bg
 client.urgent           $bg     $bg     $bg     $bg 
 client.placeholder      $bg     $bg     $bg     $bg