Update && Fix
This commit is contained in:
parent
4f850f7173
commit
6f8acf2168
28 changed files with 443 additions and 353 deletions
|
@ -6,6 +6,9 @@
|
|||
local gears = require("gears")
|
||||
local awful = require("awful")
|
||||
local wibox = require("wibox")
|
||||
local beautiful = require('beautiful')
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
local sidebar = require("ui.sidebar")
|
||||
|
||||
-- # Libs :
|
||||
-- ~~~~~~~~
|
||||
|
@ -20,11 +23,25 @@ local launcher = wibox.widget{
|
|||
valign = "center",
|
||||
}
|
||||
|
||||
launcher:buttons(gears.table.join({
|
||||
awful.button({ }, 1, function ()
|
||||
awful.spawn.with_shell(require("libs.misc").rofiCommand, false)
|
||||
end)
|
||||
--launcher:buttons(gears.table.join({
|
||||
-- awful.button({ }, 1, function ()
|
||||
-- awful.spawn.with_shell(require("libs.misc").rofiCommand, false)
|
||||
-- end)
|
||||
--
|
||||
--}))
|
||||
|
||||
}))
|
||||
launcher:connect_signal(
|
||||
"button::press",
|
||||
function()
|
||||
launcher.opacity = 0.6
|
||||
sidebar.toggle(s)
|
||||
end)
|
||||
launcher:connect_signal(
|
||||
"button::release",
|
||||
function()
|
||||
launcher.opacity = 1
|
||||
end)
|
||||
|
||||
|
||||
--return awful.widget.only_on_screen(launcher, 'primary')
|
||||
return launcher
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue