* .config/i3/config: Float pop-ups and a few other windows.
[~bandali/configs] / .config / i3 / config
index c796761..3964729 100644 (file)
@@ -8,8 +8,10 @@ set $mod2 Mod1
 set $mod3 Mod3
 
 # window title and bar font (unless specified differently in 'bar {}'
-font pango:Source Code Pro 9.5
-# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
+#font pango:Source Code Pro 9.5
+font pango:Source Code Pro Medium 10.5
+# font -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1
+# font -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1
 
 # for dragging floating windows with mouse
 floating_modifier $mod
@@ -27,18 +29,17 @@ bindsym $mod+Shift+w kill
 # kill an application
 #bindsym --release $mod+Shift+x exec xkill
 
-# rofi launcher and pass
-bindsym $mod+space exec rofi -show run -display-run ' > ' -display-window ' 🗔 '
-bindsym $mod+backslash exec rofi -show window -display-run ' > ' -display-window ' 🗔 '
-bindsym $mod+Shift+space exec rofi-pass
+# launcher and pass
+bindsym $mod+space exec dmenu_run -fn 'Source Code Pro Medium-10.5'
+bindsym $mod+backslash exec passmenu --type -fn 'Source Code Pro Medium-10.5'
 
 # brightness
-bindsym $mod+apostrophe exec rofi-light        # rofi-based brightness chooser
-bindsym XF86MonBrightnessUp exec light -A 5    # increase screen brightness
-bindsym XF86MonBrightnessDown exec light -U 5  # decrease screen brightness
+bindsym $mod+apostrophe exec dmenu-light      # brightness chooser
+bindsym XF86MonBrightnessUp exec light -A 5   # increase brightness
+bindsym XF86MonBrightnessDown exec light -U 5 # decrease brightness
 
 # volume
-bindsym $mod+semicolon exec rofi-pamixer       # rofi-based volume chooser
+bindsym $mod+semicolon exec dmenu-pamixer # volume chooser
 bindsym XF86AudioRaiseVolume exec pamixer --allow-boost --increase 5
 bindsym XF86AudioLowerVolume exec pamixer --allow-boost --decrease 5
 bindsym XF86AudioMute        exec pamixer --toggle-mute
@@ -178,11 +179,17 @@ mode "$mode_theme" {
 }
 bindsym $mod+t mode "$mode_theme"
 
+# pop-ups
+for_window [window_role="pop-up"] floating enable
+
 # application-specific window configurations
 for_window [class="mpv"] floating enable
 for_window [class="Mumble"] floating enable
 for_window [class="Nm-connection-editor"] floating enable
 for_window [class="Virt-manager"] floating enable
+for_window [class="Vncviewer"] floating enable
+for_window [class="Engrampa"] floating enable
+for_window [class="Caja"] floating enable
 
 # no title bars
 for_window [class="^.*"] border pixel 4