Update screenshot command to use uwsm and stop command also.

ghosty will now lauch the vm terminal
This commit is contained in:
2025-05-02 15:28:40 +02:00
parent b8b6f55587
commit d7b620ab97

View File

@@ -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