[awesome] add keyboard shortcut for autorandr
This commit is contained in:
parent
7df30b3b53
commit
00755fd9e9
|
@ -405,7 +405,9 @@ clientkeys = gears.table.join(
|
|||
awful.key({}, "XF86MonBrightnessDown", function() awful.util.spawn({"xbacklight", "-dec", "10"}) end),
|
||||
|
||||
awful.key({}, "XF86AudioMute", function() awful.util.spawn_with_shell("pactl set-sink-mute $(pacmd dump|grep -E '^set-default-sink'|cut -d' ' -f2) toggle") end),
|
||||
awful.key({}, "XF86AudioMicMute", function() awful.util.spawn_with_shell("pactl set-source-mute $(pacmd dump|grep -E '^set-default-source'|cut -d' ' -f2) toggle") end)
|
||||
awful.key({}, "XF86AudioMicMute", function() awful.util.spawn_with_shell("pactl set-source-mute $(pacmd dump|grep -E '^set-default-source'|cut -d' ' -f2) toggle") end),
|
||||
|
||||
awful.key({}, "XF86Display", function() awful.util.spawn({"autorandr", "-c"}) end)
|
||||
)
|
||||
|
||||
-- Bind all key numbers to tags.
|
||||
|
|
Reference in a new issue