systray, dock, icon_handler some major revision

This commit is contained in:
Rene Kievits
2022-03-06 20:56:06 +01:00
parent 39179f06b7
commit dae28d55eb
29 changed files with 422 additions and 255 deletions

View File

@@ -34,5 +34,5 @@ return function()
{ "Open Terminal", user_vars.vars.terminal },
{ "Settings", settings },
}
return menu_ttems
end
return menu_items
end

View File

@@ -2,6 +2,20 @@
local awful = require("awful")
local beautiful = require("beautiful")
screen.connect_signal(
"added",
function ()
awesome.restart()
end
)
screen.connect_signal(
"removed",
function ()
awesome.restart()
end
)
client.connect_signal(
"manage",
function (c)
@@ -133,4 +147,4 @@ function hover_signal (widget, bg, fg)
end
end
)
end
end

View File

@@ -22,13 +22,13 @@ local _M = {
modkey = "Mod4",
-- place your wallpaper at this path with this name, you could also try to change the path
wallpaper = home .. "/.config/awesome/theme/crylia/assets/wallpaper.jpg",
wallpaper = home .. "/.config/awesome/theme/crylia/assets/space.jpg",
-- Naming scheme for the powermenu, userhost = "user@hostname", fullname = "Firstname Surname", something else ...
namestyle = "userhost",
-- List every Keyboard layout you use here comma seperated. (run localectl list-keymaps to list all averiable keymaps)
kblayout = {"de", "ru", "us"},
kblayout = {"de", "ru"},
-- Set to false if you dont have a controller
bluetooth = true,
@@ -45,6 +45,7 @@ local _M = {
-- Add your programs exactly like in this example.
-- First entry has to be how you would start the program in the terminal (just try it if you dont know yahoo it)
-- Second can be what ever the fuck you want it to be (will be the displayed name if you hover over it)
-- For steam games please use this format {"394360", "Name", true} true will tell the func that it's a steam game
dock_programs = {
{"firefox", "Firefox"},
{"discord", "Discord"},
@@ -60,4 +61,4 @@ local _M = {
screens_size = get_screen()
}
return _M
return _M