summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew <saintruler@gmail.com>2020-07-17 15:04:36 +0400
committerAndrew <saintruler@gmail.com>2020-07-17 15:04:36 +0400
commit2794b374096b8f7ddaf042b9ea5b1266e81ec59d (patch)
treed4214381f5aed57433b94c6e24d7c976f67e7de7
parent98d45fcfb0951f2e6c346dd8498c10d72a225273 (diff)
Fixed error in screenshot shell line
-rw-r--r--config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.h b/config.h
index f2632e4..5b61170 100644
--- a/config.h
+++ b/config.h
@@ -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") },