Create a temporary htop floating window on demand

This commit is contained in:
coolneng 2021-05-27 14:21:25 +02:00
parent 31898b4392
commit 7e9301983d
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 0 deletions

View File

@ -247,6 +247,7 @@ exec_always {
# Enable floating windows
for_window [app_id="mpv"] floating enable
for_window [app_id="imv"] floating enable
for_window [app_id="htop"] floating enable, resize set 1280 720
# Resize zathura to 70% in tiling mode
for_window [app_id="org.pwmt.zathura" workspace=$workspace4] resize set width 70 ppt
# Split windows vertically
@ -280,6 +281,8 @@ bindsym Print exec grim
bindsym Shift+Print exec slurp | grim -g - - | wl-copy
# find PDFs with rofi
bindsym $mod+f exec ~/.local/share/scripts/finder
# temporary floating htop
bindsym $mod+Shift+h exec kitty --class htop -- htop
# power menu
bindsym $mod+Shift+p mode "$Pause-break"