Sfoglia il codice sorgente

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

Lucas Stadler 13 anni fa
parent
commit
1d30ada509
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      .config/awesome/rc.lua

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

253
    awful.key({ modkey, "Shift" }, "l", function() os.execute("slock") end),
253
    awful.key({ modkey, "Shift" }, "l", function() os.execute("slock") end),
254
    awful.key({ modkey }, "b", function() awful.util.spawn("chromium --allow-file-access-from-files", false) end),
254
    awful.key({ modkey }, "b", function() awful.util.spawn("chromium --allow-file-access-from-files", false) end),
255
    awful.key({ modkey, "Shift" }, "b", function() awful.util.spawn("chromium --incognito --allow-file-access-from-files", false) end),
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
	 awful.key({ }, "XF86AudioMute", function() os.execute("amixer set Master toggle") end),
260
	 awful.key({ }, "XF86AudioMute", function() os.execute("amixer set Master toggle") end),
258
    awful.key({ }, "XF86AudioLowerVolume", function() os.execute("amixer set Master 5%-") end),
261
    awful.key({ }, "XF86AudioLowerVolume", function() os.execute("amixer set Master 5%-") end),