vimrc, awesome
This commit is contained in:
@@ -350,15 +350,15 @@ globalkeys = gears.table.join(
|
||||
|
||||
-- Display Brightness
|
||||
awful.key({}, "XF86MonBrightnessUp",
|
||||
function ()
|
||||
function ()
|
||||
awful.spawn.easy_async("/home/snarbutas/.bin/brightness +750", function(stdout, stderr, reason, exit_code)
|
||||
naughty.notify {title = "💡", text = stdout, timeout = 0.5}
|
||||
naughty.notify {icon = "/home/snarbutas/Pictures/icons/wbulb.png", icon_size = 16, text = stdout, timeout = 0.5}
|
||||
end)
|
||||
end),
|
||||
awful.key({}, "XF86MonBrightnessDown",
|
||||
function ()
|
||||
awful.spawn.easy_async("/home/snarbutas/.bin/brightness -750", function(stdout, stderr, reason, exit_code)
|
||||
naughty.notify {title = "💡", text = stdout, timeout = 0.5}
|
||||
naughty.notify {icon = "/home/snarbutas/Pictures/icons/wbulb.png", icon_size = 16, text = stdout, timeout = 0.5}
|
||||
end)
|
||||
end),
|
||||
-- Extend monitor
|
||||
|
||||
Reference in New Issue
Block a user