i3: hide cursor on window screenshot
This commit is contained in:
parent
8a89be8590
commit
c0323f947b
1 changed files with 4 additions and 2 deletions
|
@ -9,7 +9,7 @@ in with theme.colors; {
|
||||||
playerctl # pactl comes with PulseAudio
|
playerctl # pactl comes with PulseAudio
|
||||||
wmctrl # For rofi power menu
|
wmctrl # For rofi power menu
|
||||||
xborders # Active window borders
|
xborders # Active window borders
|
||||||
maim xdotool # Active window screenshots
|
maim xdotool unclutter # Active window screenshots
|
||||||
];
|
];
|
||||||
|
|
||||||
# Screenshots
|
# Screenshots
|
||||||
|
@ -97,7 +97,9 @@ in with theme.colors; {
|
||||||
|
|
||||||
# Screenshots
|
# Screenshots
|
||||||
"Print" = "exec flameshot gui";
|
"Print" = "exec flameshot gui";
|
||||||
"${mod}+Print" = "exec maim -i \"$(xdotool getactivewindow)\" | xclip -selection clipboard -t image/png";
|
# For some reason -u/--hidecursor tag makes image blank
|
||||||
|
# So, we hide then unhide the cursor
|
||||||
|
"${mod}+Print" = "exec (unclutter -idle 0 &) && maim -i \"$(xdotool getactivewindow)\" | xclip -selection clipboard -t image/png && killall unclutter";
|
||||||
|
|
||||||
# Remove dmenu
|
# Remove dmenu
|
||||||
"${mod}+d" = null;
|
"${mod}+d" = null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue