From 2794b374096b8f7ddaf042b9ea5b1266e81ec59d Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 17 Jul 2020 15:04:36 +0400 Subject: Fixed error in screenshot shell line --- config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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") }, -- cgit v1.2.3