moved to personal fennel config for awesome and added qutebrowser
This commit is contained in:
parent
403cb92b7d
commit
688748f8a6
502 changed files with 8576 additions and 9597 deletions
84
awes2/configuration/root/init.lua
Normal file
84
awes2/configuration/root/init.lua
Normal file
|
@ -0,0 +1,84 @@
|
|||
local gears = require('gears')
|
||||
local awful = require('awful')
|
||||
|
||||
local apps = require('configuration.apps')
|
||||
|
||||
root.buttons(
|
||||
gears.table.join(
|
||||
awful.button(
|
||||
{},
|
||||
1,
|
||||
function()
|
||||
if mymainmenu then
|
||||
mymainmenu:hide()
|
||||
end
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{},
|
||||
3,
|
||||
function ()
|
||||
if mymainmenu then
|
||||
mymainmenu:toggle()
|
||||
end
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{},
|
||||
2,
|
||||
function ()
|
||||
awful.util.spawn(apps.default.rofiappmenu)
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{'Control'},
|
||||
2,
|
||||
function ()
|
||||
awesome.emit_signal("module::exit_screen_show")
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{'Shift'},
|
||||
2,
|
||||
function ()
|
||||
awesome.emit_signal("widget::blue_light:toggle")
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{},
|
||||
4,
|
||||
function()
|
||||
awful.spawn('light -A 10',false)
|
||||
awesome.emit_signal('widget::brightness')
|
||||
awesome.emit_signal('module::brightness_osd:show',true)
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{},
|
||||
5,
|
||||
function()
|
||||
awful.spawn('light -U 10',false)
|
||||
awesome.emit_signal('widget::brightness')
|
||||
awesome.emit_signal('module::brightness_osd:show',true)
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{'Control'},
|
||||
4,
|
||||
function()
|
||||
awful.spawn('amixer -D pulse sset Master 5%+',false)
|
||||
awesome.emit_signal('widget::volume')
|
||||
awesome.emit_signal('module::volume_osd:show',true)
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{'Control'},
|
||||
5,
|
||||
function()
|
||||
awful.spawn('amixer -D pulse sset Master 5%-',false)
|
||||
awesome.emit_signal('widget::volume')
|
||||
awesome.emit_signal('module::volume_osd:show',true)
|
||||
end
|
||||
)
|
||||
)
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue