feat: some shit

This commit is contained in:
2022-11-16 23:37:05 +01:00
parent 7bf1d29cd6
commit 00822e03a4
11 changed files with 335 additions and 175 deletions

View File

@ -28,6 +28,7 @@ set $grimshot $sway_scripts/grimshot
set $screenclip wl-copy < "$($grimshot --notify save area $screenshot_dir/scrn-$(date +"%Y-%m-%d-%H-%M-%S").png)"
set $screenshot wl-copy < "$($grimshot --notify save screen $screenshot_dir/scrn-$(date +"%Y-%m-%d-%H-%M-%S").png)"
set $windowshot wl-copy < "$($grimshot --notify save window $screenshot_dir/scrn-$(date +"%Y-%m-%d-%H-%M-%S").png)"
set $screenvideo wf-recorder -g "$(slurp)" -f "$screenshot_dir/scrn-$(date +'%Y-%m-%d-%H-%M-%S').mp4"
# Default Programs
set $term wezterm
@ -272,6 +273,7 @@ input "1739:24385:Synaptics_TM2438-005" {
bindsym $mod+s exec $screenshot
# -- Area Screenshot
bindsym $mod+Shift+s exec $screenclip
bindsym $mod+Alt+s exec $screenvideo
# -- Select Window
bindsym $mod+Control+s exec $windowshot