diff options
author | Rafael Marçalo <raroma09@gmail.com> | 2023-04-29 12:16:33 +0100 |
---|---|---|
committer | Rafael Marçalo <raroma09@gmail.com> | 2023-04-29 12:16:33 +0100 |
commit | aee2c7b23a311c10639ef13be0b6ffd6c4724596 (patch) | |
tree | 8dc05f9de4ee79e23e8bb4a34c1fa749fc56e240 | |
parent | e34452564141266bc6edba53f9695d6fe4472250 (diff) |
Fixed screenshot tool with picom blur
-rw-r--r-- | picom/.config/picom/picom.conf | 1 | ||||
-rwxr-xr-x | scripts/.local/bin/screenshot | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/picom/.config/picom/picom.conf b/picom/.config/picom/picom.conf index c2f2c5a..b637da5 100644 --- a/picom/.config/picom/picom.conf +++ b/picom/.config/picom/picom.conf @@ -196,6 +196,7 @@ blur-kern = "3x3box"; blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'", + "name ~= 'slop'", "_GTK_FRAME_EXTENTS@:c" ]; diff --git a/scripts/.local/bin/screenshot b/scripts/.local/bin/screenshot index a5c3d05..b887e3e 100755 --- a/scripts/.local/bin/screenshot +++ b/scripts/.local/bin/screenshot @@ -30,14 +30,14 @@ else SAVE=$(printf "Clipboard\nNote\nPictures Folder" | dmenu -i -p "Save to: ") case "$SAVE" in "Clipboard") - maim -s -u -m 10 --color=1,1,1,0.1 | xclip -selection clipboard -t image/png + maim -s -u -m 10 | xclip -selection clipboard -t image/png ;; "Pictures Folder") - maim -s -u -m 10 --color=1,1,1,0.1 ~/Pictures/Screenshots/screenshot-"$(date '+%Y%m%d_%H%M%S')".png + maim -s -u -m 10 ~/Pictures/Screenshots/screenshot-"$(date '+%Y%m%d_%H%M%S')".png ;; "Note") DATE=$(date '+%y%m%d%H%M%S%N') - maim -s -u -m 10 --color=1,1,1,0.1 /tmp/screenshot-"$DATE".png + maim -s -u -m 10 /tmp/screenshot-"$DATE".png sxiv /tmp/screenshot-"$DATE".png esac ;; |