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

~/.config/awesome: Control audio using X media keys.

Lucas Stadler лет назад: 13
Родитель
Сommit
6760bf2432
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      .config/awesome/rc.lua

+ 5 - 1
.config/awesome/rc.lua

252
    awful.key({ modkey }, "l", function() os.execute(os.getenv('HOME') .. "/.bin/xkbswap") end),
252
    awful.key({ modkey }, "l", function() os.execute(os.getenv('HOME') .. "/.bin/xkbswap") end),
253
    awful.key({ modkey, "Shift" }, "l", function() os.execute("xlock -mode blank") end),
253
    awful.key({ modkey, "Shift" }, "l", function() os.execute("xlock -mode blank") 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
257
	 awful.key({ }, "XF86AudioMute", function() os.execute("amixer set Master toggle") end),
258
    awful.key({ }, "XF86AudioLowerVolume", function() os.execute("amixer set Master 5%-") end),
259
    awful.key({ }, "XF86AudioRaiseVolume", function() os.execute("amixer set Master 5%+") end)
256
)
260
)
257
261
258
clientkeys = awful.util.table.join(
262
clientkeys = awful.util.table.join(