awesome update

This commit is contained in:
Daan Vanoverloop 2021-08-24 21:52:17 +02:00
parent d492d090cf
commit 4ca31baa1c
1 changed files with 5 additions and 1 deletions

View File

@ -224,7 +224,7 @@ end
local backlight_widget_type = {
async = function (format, warg, callback)
awful.spawn.easy_async("xbacklight ", function (stdout)
awful.spawn.easy_async("xbacklight -get", function (stdout)
callback{ round(tonumber(stdout)) }
end)
end
@ -777,6 +777,8 @@ globalkeys = gears.table.join(
awful.key({ modkey }, "m", function() awful.spawn("mpc toggle") end),
awful.key({ modkey }, "]", function() awful.spawn("mpc next") end),
awful.key({ modkey }, "[", function() awful.spawn("mpc prev") end),
awful.key({ modkey, "Shift" }, "t", function() awful.spawn("/home/daan/Scripts/tv.sh") end,
{description = "TV Mode"}),
awful.key({ modkey, "Control" }, "n",
function ()
@ -809,6 +811,8 @@ globalkeys = gears.table.join(
{description = "show the menubar", group = "launcher"}),
awful.key({ modkey }, "d", function() rofi_spawn("rofi -show drun -me-select-entry '' -me-accept-entry 'MousePrimary'") end,
{description = "launch rofi", group = "launcher"}),
awful.key({ modkey }, "c", function() rofi_spawn("rofi-pass") end,
{description = "launch rofi-pass", group = "launcher"}),
awful.key({ modkey, "Shift" }, "g",
function (c)
rofi_spawn("dmenu_script lutris.sh")