From: martin f. krafft Date: Sat, 29 Dec 2018 09:35:56 +0000 (+0100) Subject: autorandr shortcut X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/01f2d60cadfdee54ba6626699e3b315e5ac9605e?ds=inline;hp=-c autorandr shortcut --- 01f2d60cadfdee54ba6626699e3b315e5ac9605e diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 982aabd..95769b4 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -910,7 +910,7 @@ awful.key(nil, "XF86AudioMicMute", function () awful.spawn("pactl set-source-mut awful.key({ cmdkey }, "Home", function () awful.spawn("pactl set-source-mute 1 toggle") end), awful.key(nil, "XF86MonBrightnessDown", function () awful.spawn("xbacklight -dec 5%") end), awful.key(nil, "XF86MonBrightnessUp", function () awful.spawn("xbacklight -inc 5%") end), -awful.key(nil, "XF86Display", function () awful.spawn("") end), +awful.key(nil, "XF86Display", function () awful.spawn("autorandr --change --force"); initialise_to_autorandr_profile() end), awful.key(nil, "XF86WLAN", function () awful.spawn("") end), awful.key(nil, "XF86Tools", function () awful.spawn("") end), awful.key(nil, "XF86Search", function () awful.spawn("") end),