i3: add screenshot active window shortcut
This commit is contained in:
parent
ed3a1d52c5
commit
8a89be8590
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +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
|
||||||
];
|
];
|
||||||
|
|
||||||
# Screenshots
|
# Screenshots
|
||||||
|
@ -96,6 +97,7 @@ 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";
|
||||||
|
|
||||||
# Remove dmenu
|
# Remove dmenu
|
||||||
"${mod}+d" = null;
|
"${mod}+d" = null;
|
||||||
|
|
Loading…
Add table
Reference in a new issue