Просмотр исходного кода

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

Lucas Stadler лет назад: 13
Родитель
Сommit
1d30ada509
1 измененных файлов с 3 добавлено и 0 удалено
  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),