about summary refs log tree commit diff
path: root/awesome
diff options
context:
space:
mode:
authorRaphael McSinyx <vn.mcsinyx@gmail.com>2017-03-20 20:14:25 +0700
committerRaphael McSinyx <vn.mcsinyx@gmail.com>2017-03-20 20:14:25 +0700
commit54f888bbc8c343db839fe7c3ca956e717c7133e1 (patch)
tree133d86448b2823c46a7a6f0c1bbb160f3a64ca7c /awesome
parent48da7383c04e5f6bf5612014727d8d9b4bd03329 (diff)
downloaddotfiles-54f888bbc8c343db839fe7c3ca956e717c7133e1.tar.gz
Update 20170320
Diffstat (limited to 'awesome')
-rw-r--r--awesome/.config/awesome/rc.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index 04fd216..85ac9cd 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -59,6 +59,7 @@ cmus_pause = "cmus-remote --pause"
 cmus_prev = "cmus-remote --prev"
 cmus_next = "cmus-remote --next"
 scrot = "scrot /home/cnx/Pictures/Screenshots/%FT%T.png"
+scrot_delay = "scrot --delay 3 /home/cnx/Pictures/Screenshots/%FT%T.png"
 scrot_select = "scrot --select /home/cnx/Pictures/Screenshots/%FT%T.png"
 slock_suspend = "slock systemctl --ignore-inhibitors suspend"
 function volume_lower() awful.spawn("amixer sset Master 5%-", false) end
@@ -370,8 +371,6 @@ globalkeys = awful.util.table.join(
             {description = "open zathura document viewer", group = "launcher"}),
   awful.key({modkey}, "m", function() awful.spawn(mutt) end,
             {description = "open mutt mail client", group = "launcher"}),
-  awful.key({modkey}, "y", function() awful.spawn("smtube") end,
-            {description = "open YouTube browser", group = "launcher"}),
   awful.key({modkey}, "s", function() awful.spawn("slock") end,
             {description = "lock screen", group = "launcher"}),
   awful.key({modkey, "Shift"}, "s", function() awful.spawn(slock_suspend) end,
@@ -386,7 +385,10 @@ globalkeys = awful.util.table.join(
             {description = "cmus: next track", group = "multimedia"}),
   awful.key({}, "Print", function() awful.spawn(scrot) end,
             {description = "capture a screenshot", group = "multimedia"}),
-  awful.key({modkey}, "Print", function() awful.spawn(scrot_select) end,
+  awful.key({"Shift"}, "Print", function() awful.spawn(scrot_delay) end,
+            {description = "wait 3 seconds then capture a screenshot",
+             group = "multimedia"}),
+  awful.key({"Control"}, "Print", function() awful.spawn(scrot_select) end,
             {description = "shoot a window or rectangle selected with a mouse",
              group = "multimedia"}),
   awful.key({}, "XF86AudioRaiseVolume", volume_raise,