From 4ca31baa1c56f28e3ddef9ba34b483464115098b Mon Sep 17 00:00:00 2001 From: Daan Vanoverloop Date: Tue, 24 Aug 2021 21:52:17 +0200 Subject: [PATCH] awesome update --- .config/awesome/rc.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index a2e5ec1..f74b42a 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -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")