aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2023-03-08 20:34:19 +0100
committerCamil Staps2023-03-08 20:34:19 +0100
commit02c13533e14b5e05fe4bf50e5a312bdd2c0b681c (patch)
treec59f081ff46f608e0702a167e2704a0b7e28dd69
parentAdd Emoji font to i3 for support in window titles (diff)
i3: open htop with Mod+Settings (on Yoga laptop)
-rw-r--r--i3/.i3/config8
1 files changed, 6 insertions, 2 deletions
diff --git a/i3/.i3/config b/i3/.i3/config
index 7c03a2b..21390d6 100644
--- a/i3/.i3/config
+++ b/i3/.i3/config
@@ -25,8 +25,12 @@ bindsym $mod+Shift+Q kill
bindsym $mod+Return exec urxvt
bindsym $mod+Shift+v exec urxvt -e vim
bindsym $mod+Shift+m exec urxvt -e cmus
-for_window [class="URxvt" instance="floating"] floating toggle resize set 600 400
-bindsym XF86Calculator exec urxvt -name floating -e python3
+for_window [class="URxvt" instance="floating-large"] floating toggle resize set 1200 800
+# Super+i is the settings icon on my Lenovo Yoga
+bindsym $mod+i exec urxvt -name floating-large -e htop
+bindsym $mod+Shift+i exec urxvt -name floating-large -e sudo htop
+for_window [class="URxvt" instance="floating-small"] floating toggle resize set 600 400
+bindsym XF86Calculator exec urxvt -name floating-small -e python3
# Special keys
bindsym Print exec scrot -z '/tmp/%Y-%m-%d-%H%M%S_$wx$h.png'