A few font-related tweaks
[~bandali/configs] / .config / i3 / config
index cddbe29..59fc1b1 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:Inconsolata 11.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
@@ -18,9 +20,9 @@ floating_modifier $mod
 workspace_layout tabbed
 
 # terminal
-bindsym $mod+Return exec urxvt
-bindsym $mod+Shift+Return exec urxvt -name floating
-for_window [class="URxvt" instance="floating"] floating enable
+bindsym $mod+Return exec xterm
+bindsym $mod+Shift+Return exec xterm -name floating
+for_window [class="XTerm" instance="floating"] floating enable
 
 # kill focused window (not necessarily its application)
 bindsym $mod+Shift+w kill
@@ -78,8 +80,10 @@ bindsym $mod+e layout toggle split
 
 # toggle tiling / floating
 bindsym $mod+Shift+f floating toggle
+bindsym $mod+period floating toggle
 # toggle tiling / floating focus
 bindsym $mod+grave focus mode_toggle
+bindsym $mod+comma focus mode_toggle
 
 # toggle sticky
 bindsym $mod+shift+s sticky toggle
@@ -165,6 +169,17 @@ mode "resize" {
 }
 bindsym $mod+r mode "resize"
 
+# change theme mode
+set $mode_theme theme (d)ark | (l)ight
+mode "$mode_theme" {
+        bindsym d exec change-theme dark,  mode "default"
+        bindsym l exec change-theme light, mode "default"
+        bindsym Return mode "default"
+        bindsym Escape mode "default"
+        bindsym q      mode "default"
+}
+bindsym $mod+t mode "$mode_theme"
+
 # application-specific window configurations
 for_window [class="mpv"] floating enable
 for_window [class="Mumble"] floating enable