Added swappy for images and better screenshots
This commit is contained in:
@@ -16,10 +16,11 @@ bind = $mainMod, D, exec, $discord
|
||||
bind = $mainMod, B, exec, $browser
|
||||
bind = $mainMod, L, exec, $hyprlock
|
||||
bind = $mainMod, M, exec, $spotify
|
||||
|
||||
# also make sure you created a directory called screenshots in Pictures/ otherwise the screenshots won't appear anywhere
|
||||
bind = $mainMod, S, exec, grim -o DP-3 "${HOME}/Pictures/screenshots/screenshot-$(date +%F-%T).png"
|
||||
# screenshot + crop keybind
|
||||
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" "${HOME}/Pictures/screenshots/screenshot-$(date +%F-%T).png"
|
||||
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | swappy -f -
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
# Maybe H J K L
|
||||
@@ -53,8 +54,8 @@ bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
# Example special workspace (scratchpad)
|
||||
bind = $mainMod, S, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
# bind = $mainMod, S, togglespecialworkspace, magic
|
||||
# bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
|
||||
Reference in New Issue
Block a user