diff --git a/.config/i3/conf.d/keybinds.conf b/.config/i3/conf.d/keybinds.conf index 76bb86d..5099953 100644 --- a/.config/i3/conf.d/keybinds.conf +++ b/.config/i3/conf.d/keybinds.conf @@ -19,6 +19,23 @@ mode "config" { bindsym $mod+s mode "config" +# Resize focused window +mode "resize" { + bindsym h resize shrink width 10 px or 10 ppt + bindsym j resize shrink height 10 px or 10 ppt + bindsym k resize grow height 10 px or 10 ppt + bindsym l resize grow width 10 px or 10 ppt + + bindsym Shift+h resize shrink width 2 px or 2 ppt + bindsym Shift+j resize shrink height 2 px or 2 ppt + bindsym Shift+k resize grow height 2 px or 2 ppt + bindsym Shift+l resize grow width 2 px or 2 ppt + + bindsym Escape mode "default" +} + +bindsym $mod+r mode "resize" + # reload the configuration file bindsym $mod+Shift+c reload diff --git a/.config/i3/conf.d/workspaces.conf b/.config/i3/conf.d/workspaces.conf index 5eac158..eeee03b 100644 --- a/.config/i3/conf.d/workspaces.conf +++ b/.config/i3/conf.d/workspaces.conf @@ -60,18 +60,6 @@ bindsym $mod+Shift+space floating toggle # change focus between tiling / floating windows bindsym $mod+space focus mode_toggle -# Resize focused window -mode "resize" { - bindsym h resize shrink width 10 px or 10 ppt - bindsym j resize shrink height 10 px or 10 ppt - bindsym k resize grow height 10 px or 10 ppt - bindsym l resize grow width 10 px or 10 ppt - - bindsym Escape mode "default" -} - -bindsym $mod+r mode "resize" - #resize floating windows with mouse scroll: bindsym --whole-window --border $mod+button4 resize shrink height 5 px or 5 ppt bindsym --whole-window --border $mod+button5 resize grow height 5 px or 5 ppt diff --git a/.config/i3/i3status-rust.toml b/.config/i3/i3status-rust.toml index db68b1b..1e9b404 100644 --- a/.config/i3/i3status-rust.toml +++ b/.config/i3/i3status-rust.toml @@ -32,6 +32,12 @@ block = "cpu" interval = 1 format = "{utilization} {frequency}" +[[block]] +block = "temperature" +collapsed = false +interval = 1 +chip = "*-isa-*" + [[block]] block = "nvidia_gpu" label = "GTX 1060"