From d7b620ab973b2a3be1923bbe32727869b214a141 Mon Sep 17 00:00:00 2001 From: Daniele Pintore Date: Fri, 2 May 2025 15:28:40 +0200 Subject: [PATCH] Update screenshot command to use uwsm and stop command also. ghosty will now lauch the vm terminal --- .config/hypr/hyprland.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 209c706..d9292bc 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -145,14 +145,14 @@ $mainMod = SUPER # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Q, exec, uwsm app -- ghostty -bind = $mainMod SHIFT, Q, exec, uwsm app -- ghostty -o background=##03045e -o foreground=##ffffff -d $(pwd) ssh ctf-vm +bind = $mainMod SHIFT, Q, exec, uwsm app -- ghostty --theme=BlueBerryPie --background-opacity=0.9 --initial-command="zsh -c 'ssh ctf-vm'" bind = $mainMod, C, killactive, -bind = $mainMod, M, exit, +bind = $mainMod, M, exec, uwsm stop bind = $mainMod, E, exec, uwsm app -- nemo bind = $mainMod, W, exec, uwsm app -- firefox bind = $mainMod, T, togglefloating, -bind = $mainMod, S, exec, IMG=$(xdg-user-dir PICTURES)/Screenshots/$(date +'%s_grim.png') && grim $IMG && wl-copy < $IMG # screenshot -bind = $mainMod SHIFT, S, exec, IMG=$(xdg-user-dir PICTURES)/Screenshots/$(date +'%s_grim.png') && grim -g "$(slurp)" $IMG && wl-copy < $IMG # screenshot only a part of the screen +bind = $mainMod, S, exec, uwsm app -- sh -c 'IMG=$(xdg-user-dir PICTURES)/Screenshots/$(date +'%s_grim.png') && grim $IMG && wl-copy < $IMG' # screenshot +bind = $mainMod SHIFT, S, exec, uwsm app -- sh -c 'IMG=$(xdg-user-dir PICTURES)/Screenshots/$(date +'%s_grim.png') && grim -g "$(slurp)" $IMG && wl-copy < $IMG' # screenshot only a part of the screen bind = $mainMod, R, exec, uwsm app -- rofi -run-command='nemo .; {cmd}' -show drun bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle