make picom work with maim, change maimpick folder
This commit is contained in:
parent
6f049c09b6
commit
00a0e4c769
2 changed files with 9 additions and 6 deletions
|
@ -6,7 +6,7 @@ shadow-offset-x = -12;
|
|||
shadow-offset-y = -10;
|
||||
shadow-exclude = [
|
||||
"x = 10 && y = 10 && override_redirect = true",
|
||||
"name = 'Notification'",
|
||||
"class_g *= 'slop'",
|
||||
"_GTK_FRAME_EXTENTS@:c",
|
||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
"class_g = 'librewolf' && argb",
|
||||
|
@ -32,9 +32,10 @@ blur-background-frame = true;
|
|||
blur-kern = "3x3box";
|
||||
blur-strength = 4;
|
||||
blur-background-exclude = [
|
||||
"name = 'Notification'",
|
||||
"class_g *= 'slop'",
|
||||
"_GTK_FRAME_EXTENTS@:c",
|
||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
"class_g = 'librewolf' && argb",
|
||||
];
|
||||
|
||||
# Window type settings
|
||||
|
|
|
@ -4,10 +4,12 @@
|
|||
# choose the kind of screenshot to take, including copying the image or even
|
||||
# highlighting an area to copy. scrotcucks on suicidewatch right now.
|
||||
|
||||
dir="$HOME/Photos/Screenshots/"
|
||||
|
||||
case "$(printf "a selected area\\ncurrent window\\nfull screen\\na selected area (copy)\\ncurrent window (copy)\\nfull screen (copy)" | dmenu -l 6 -i -p "Screenshot which area?")" in
|
||||
"a selected area") maim -s pic-selected-"$(date '+%y%m%d-%H%M-%S').png" ;;
|
||||
"current window") maim -i "$(xdotool getactivewindow)" pic-window-"$(date '+%y%m%d-%H%M-%S').png" ;;
|
||||
"full screen") maim pic-full-"$(date '+%y%m%d-%H%M-%S').png" ;;
|
||||
"a selected area") maim -s "${dir}pic-selected-$(date '+%y%m%d-%H%M-%S').png" ;;
|
||||
"current window") maim -i "$(xdotool getactivewindow)" "${dir}pic-window-$(date '+%y%m%d-%H%M-%S').png" ;;
|
||||
"full screen") maim "${dir}pic-full-$(date '+%y%m%d-%H%M-%S').png" ;;
|
||||
"a selected area (copy)") maim -s | xclip -selection clipboard -t image/png ;;
|
||||
"current window (copy)") maim -i "$(xdotool getactivewindow)" | xclip -selection clipboard -t image/png ;;
|
||||
"full screen (copy)") maim | xclip -selection clipboard -t image/png ;;
|
||||
|
|
Loading…
Add table
Reference in a new issue