Added swappy for images and better screenshots
This commit is contained in:
4
.config/config
Normal file
4
.config/config
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
[Default]
|
||||||
|
save_dir=$HOME/Pictures/screenshots
|
||||||
|
save_filename_format=swappy-%Y%m%d-%H%M%S.png
|
||||||
|
|
||||||
@@ -16,10 +16,11 @@ bind = $mainMod, D, exec, $discord
|
|||||||
bind = $mainMod, B, exec, $browser
|
bind = $mainMod, B, exec, $browser
|
||||||
bind = $mainMod, L, exec, $hyprlock
|
bind = $mainMod, L, exec, $hyprlock
|
||||||
bind = $mainMod, M, exec, $spotify
|
bind = $mainMod, M, exec, $spotify
|
||||||
|
|
||||||
# also make sure you created a directory called screenshots in Pictures/ otherwise the screenshots won't appear anywhere
|
# 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"
|
bind = $mainMod, S, exec, grim -o DP-3 "${HOME}/Pictures/screenshots/screenshot-$(date +%F-%T).png"
|
||||||
# screenshot + crop keybind
|
# 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
|
# Move focus with mainMod + arrow keys
|
||||||
# Maybe H J K L
|
# Maybe H J K L
|
||||||
@@ -53,8 +54,8 @@ bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
|||||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||||
|
|
||||||
# Example special workspace (scratchpad)
|
# Example special workspace (scratchpad)
|
||||||
bind = $mainMod, S, togglespecialworkspace, magic
|
# bind = $mainMod, S, togglespecialworkspace, magic
|
||||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
# bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||||
|
|
||||||
# Scroll through existing workspaces with mainMod + scroll
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
bind = $mainMod, mouse_down, workspace, e+1
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
|
|||||||
@@ -10,3 +10,6 @@ workspace=7,monitor:DP-2,persistent:true
|
|||||||
workspace=8,monitor:DP-2,persistent:true
|
workspace=8,monitor:DP-2,persistent:true
|
||||||
workspace=9,monitor:DP-2,persistent:true
|
workspace=9,monitor:DP-2,persistent:true
|
||||||
workspace=0,monitor:DP-2,persistent:true
|
workspace=0,monitor:DP-2,persistent:true
|
||||||
|
|
||||||
|
windowrulev2 = stayfocused, class:(swappy)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user