diff options
| author | Andrew <saintruler@gmail.com> | 2020-07-17 15:21:32 +0400 |
|---|---|---|
| committer | Andrew <saintruler@gmail.com> | 2020-07-17 15:21:32 +0400 |
| commit | 129abea785063b59fea9055a2bdbf979bd0923fa (patch) | |
| tree | e1664ff5fc1ad95b23f337de9cde1ecc960ba262 /config.h | |
| parent | 2794b374096b8f7ddaf042b9ea5b1266e81ec59d (diff) | |
Changed screenshot hotkeys to use new script
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -130,16 +130,16 @@ static Key keys[] = { { 0, XF86XK_TouchpadOn, spawn, SHCMD("notify-send 'Touchpad turned on'") }, // Screenshot of chosen area - { 0, XK_Print, spawn, SHCMD("maim -u -s -m 1 | xclip -selection clipboard -t image/png") }, - { 0|ShiftMask, XK_Print, spawn, SHCMD("maim -u -s -m 1 | tee ~/Pictures/Screenshot_$(date +%s.png)") }, + { 0, XK_Print, spawn, SHCMD("screenshot area to clip") }, + { 0|ShiftMask, XK_Print, spawn, SHCMD("screenshot area to file") }, // Screenshot of active window - { 0|ControlMask, XK_Print, spawn, SHCMD("maim -B -u -i $(xdotool getactivewindow) | xclip -selection clipboard -t image/png") }, - { 0|ShiftMask|ControlMask, XK_Print, spawn, SHCMD("maim -B -u -i $(xdotool getactivewindow) | tee ~/Pictures/Screenshot_$(date +%s).png") }, + { 0|ControlMask, XK_Print, spawn, SHCMD("screenshot window to clip") }, + { 0|ShiftMask|ControlMask, XK_Print, spawn, SHCMD("screenshot window to file") }, // Screenshot of full screen - { MODKEY, XK_Print, spawn, SHCMD("maim -u | xclip -selection clipboard -t image/png") }, - { MODKEY|ShiftMask, XK_Print, spawn, SHCMD("maim -u | tee ~/Pictures/Screenshot_$(date +%s).png") }, + { MODKEY, XK_Print, spawn, SHCMD("screenshot screen to clip") }, + { MODKEY|ShiftMask, XK_Print, spawn, SHCMD("screenshot screen to file") }, }; |