This commit is contained in:
2025-10-13 22:39:16 +04:00
parent 04e07cd38b
commit efc1dcddde
2 changed files with 4 additions and 23 deletions

View File

@@ -90,19 +90,5 @@ set $ws8 number 8
set $ws9 number 9
set $ws10 number 10
# Screenshot commands
set $grimshot grimshot
set $pipe_output $grimshot save output -
set $pipe_selection $grimshot save area -
set $notify_paste [[ $(wl-paste -l) == "image/png" ]] && notify-send "Screenshot copied to clipboard"
set $swappy swappy -f -
set $upload_pipe curl -s -F "file=@-;filename=.png" https://x0.at/ | tee >(wl-copy) >(xargs notify-send)
set $screenshot_screen $pipe_output | $swappy && $notify_paste
set $screenshot_screen_upload $pipe_output | $upload_pipe
set $screenshot_selection $pipe_selection | $swappy && $notify_paste
set $screenshot_selection_upload $pipe_selection | $upload_pipe
# Emoji picker
set $emoji_picker emoji-picker