From 7e9301983db671d9e97d8bf70c9163d26c477a64 Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 27 May 2021 14:21:25 +0200 Subject: [PATCH] Create a temporary htop floating window on demand --- sway/.config/sway/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index cfb8372..11d969d 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -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"