diff options
| author | Andrew <saintruler@gmail.com> | 2020-07-17 15:04:36 +0400 |
|---|---|---|
| committer | Andrew <saintruler@gmail.com> | 2020-07-17 15:04:36 +0400 |
| commit | 2794b374096b8f7ddaf042b9ea5b1266e81ec59d (patch) | |
| tree | d4214381f5aed57433b94c6e24d7c976f67e7de7 | |
| parent | 98d45fcfb0951f2e6c346dd8498c10d72a225273 (diff) | |
Fixed error in screenshot shell line
| -rw-r--r-- | config.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -36,6 +36,7 @@ static const Rule rules[] = { */ /* class instance title tags mask isfloating monitor */ { "Gimp", NULL, NULL, 0, 1, -1 }, + { "Civ6Sub", NULL, NULL, 0, 0, -1 }, { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, }; @@ -130,7 +131,7 @@ static Key keys[] = { // 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|ShiftMask, XK_Print, spawn, SHCMD("maim -u -s -m 1 | tee ~/Pictures/Screenshot_$(date +%s.png)") }, // Screenshot of active window { 0|ControlMask, XK_Print, spawn, SHCMD("maim -B -u -i $(xdotool getactivewindow) | xclip -selection clipboard -t image/png") }, |