X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/230f7fe8f57e39c012ce187fc82fb2ac8c6d4dae..e2640242fea89ec1057f3259139df59ebc6aa37b:/.config/i3/config?ds=sidebyside diff --git a/.config/i3/config b/.config/i3/config index 61e0f88..c796761 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -18,9 +18,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 @@ -167,6 +167,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