diff options
author | Daniel Weipert <code@drogueronin.de> | 2022-02-16 15:28:10 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-10-30 09:52:23 +0100 |
commit | 9a9514a18eaf235eab9ff51c1ca55e00084bb6cf (patch) | |
tree | 870e5ff4fada33effc682ed99da4f64c0a10a2b3 | |
parent | 2b3a7047ccc7323a04abb494df5625a177bb0889 (diff) |
[sway+zshrc] enable screenshot
-rw-r--r-- | .config/sway/config | 9 | ||||
-rw-r--r-- | .zshrc | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/.config/sway/config b/.config/sway/config index d7da3d2..ccf1455 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -122,6 +122,15 @@ mouse_warping none bindsym Shift+XF86AudioRaiseVolume exec amixer set Master 1%+ # +# Screenshot +# + + set $print_key F13 + set $print_code 183 + bindcode $print_code exec grim + bindcode $mod+$print_code exec grim -g "$(slurp)" + +# # Moving around: # # Move your focus around @@ -21,4 +21,5 @@ alias ls="exa" alias tree="exa --tree" export NNN_PLUG='n:nuke;p:addtoplaylist' +export GRIM_DEFAULT_DIR=~/Images/Screenshots |