Parcourir la Source

~/.config/awesome/rc.lua: Add shortcut to take screenshots.

Lucas Stadler 13 ans auparavant
Parent
commit
1d30ada509
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      .config/awesome/rc.lua

+ 3 - 0
.config/awesome/rc.lua

@ -253,6 +253,9 @@ globalkeys = awful.util.table.join(
253 253
    awful.key({ modkey, "Shift" }, "l", function() os.execute("slock") end),
254 254
    awful.key({ modkey }, "b", function() awful.util.spawn("chromium --allow-file-access-from-files", false) end),
255 255
    awful.key({ modkey, "Shift" }, "b", function() awful.util.spawn("chromium --incognito --allow-file-access-from-files", false) end),
256
    awful.key({ }, "Print", function ()
257
        awful.util.spawn("scrot -e 'mv $f ~/m/pictures/ 2>/dev/null'")
258
    end),
256 259
257 260
	 awful.key({ }, "XF86AudioMute", function() os.execute("amixer set Master toggle") end),
258 261
    awful.key({ }, "XF86AudioLowerVolume", function() os.execute("amixer set Master 5%-") end),