mirror of
https://github.com/ivabus/dotfiles
synced 2024-11-24 09:05:07 +03:00
Change screenshot shortcuts
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
parent
a823e8d75e
commit
3be70f7736
1 changed files with 3 additions and 2 deletions
|
@ -47,8 +47,9 @@ exec swayidle -w timeout 60 '$HOME/.config/sway/lock.sh'
|
||||||
# Screenshots
|
# Screenshots
|
||||||
|
|
||||||
set $screenshot_file \"$HOME/Pictures/screenshot-$(date '+%Y-%m-%d_%H-%M-%S').png\"
|
set $screenshot_file \"$HOME/Pictures/screenshot-$(date '+%Y-%m-%d_%H-%M-%S').png\"
|
||||||
bindsym $mod+o exec grim $screenshot_file
|
bindsym Mod3+Shift+3 exec grim $screenshot_file
|
||||||
bindsym $mod+p exec (slurp | grim -g- $screenshot_file)
|
bindsym Mod3+Shift+4 exec (slurp | grim -g- $screenshot_file)
|
||||||
|
bindsym Mod3+Shift+5 exec (swaymsg -t get_tree | jq -r '.. | select(.pid? and .visible?) | "\(.rect.x+.window_rect.x),\(.rect.y+.window_rect.y) \(.window_rect.width)x\(.window_rect.height)"' | slurp | grim -g- $screenshot_file)
|
||||||
|
|
||||||
# Recordings
|
# Recordings
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue