machine_setup/ansible/roles/sway/files/sway_config_files/screenshots.conf
2022-10-17 22:17:26 -04:00

8 lines
632 B
Plaintext

# Screenshots
#bindsym $mod+print exec --no-startup-id slurp | grim -g - $(xdg-user-dir PICTURES)/$(date +'screenshot_%Y-%m-%d-%H%M%S.png')
bindsym $mod+print exec --no-startup-id bash -c "slurp | grim -g - ~/$(date +'screenshot_%Y-%m-%d-%H%M%S.png')"
bindsym print exec --no-startup-id bash -c "grim ~/$(date +'screenshot_%Y-%m-%d-%H%M%S.png')"
# bindsym $mod+Shift+print exec --no-startup-id bash -c "wf-recorder -g $(slurp) -o ~/$(date +'screencast_%Y-%m-%d-%H%M%S.mp4')"
# bindsym Shift+print exec --no-startup-id bash -c "wf-recorder -o ~/$(date +'screencast_%Y-%m-%d-%H%M%S.mp4')"
# Need to make a hotkey to end the recording