Setup screenshots

This commit is contained in:
Ohad Livne 2025-06-04 22:45:41 +03:00
parent 405c2d990e
commit 1f0cccdced
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
3 changed files with 11 additions and 0 deletions

View file

@ -16,6 +16,7 @@ fcitx5-mozc \
firefox-esr \ firefox-esr \
fuzzel \ fuzzel \
gnumeric \ gnumeric \
grim \
guile-3.0 \ guile-3.0 \
htop \ htop \
jq \ jq \
@ -33,6 +34,7 @@ pulseaudio-utils \
python3-poetry \ python3-poetry \
python3.12-venv \ python3.12-venv \
qtwayland5 \ qtwayland5 \
slurp \
sway \ sway \
sway-backgrounds \ sway-backgrounds \
swayidle \ swayidle \

View file

@ -4,3 +4,5 @@ sudo usermod --append --groups docker "${USER}"
systemctl --user enable syncthing.service systemctl --user enable syncthing.service
systemctl --user start syncthing.service systemctl --user start syncthing.service
mkdir -p Photos/screenshots

View file

@ -239,6 +239,13 @@ bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
#
# Screenshots
#
bindsym Print exec grim ~/Photos/screenshots/$(date +'fullscreen-%Y%m%dT%H%M%S.png')
bindsym Shift+Print exec grim -g "$(slurp)" ~/Photos/screenshots/$(date +'selection-%Y%m%dT%H%M%S.png')
# #
# Start a password manager in the scratchpad # Start a password manager in the scratchpad
# #