New Setup 📦
This commit is contained in:
parent
d16174b447
commit
415dbd08a1
10194 changed files with 1368647 additions and 4 deletions
31
home/.config/awesome/ui/widgets/systray.lua
Normal file
31
home/.config/awesome/ui/widgets/systray.lua
Normal file
|
@ -0,0 +1,31 @@
|
|||
-- ## Clock ##
|
||||
-- ~~~~~~~~~~~~~
|
||||
|
||||
-- Requirements :
|
||||
-- ~~~~~~~~~~~~~~
|
||||
local gears = require("gears")
|
||||
local awful = require("awful")
|
||||
local wibox = require("wibox")
|
||||
local beautiful = require('beautiful')
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
|
||||
|
||||
-- Systray
|
||||
local systray = wibox.widget {
|
||||
visible = true,
|
||||
base_size = dpi(30),
|
||||
horizontal = true,
|
||||
screen = 'primary',
|
||||
{
|
||||
{
|
||||
wibox.widget.systray,
|
||||
layout = wibox.layout.fixed.horizontal,
|
||||
},
|
||||
margins = {top = dpi(6), bottom = dpi(6), left = dpi(6), right = dpi(6)},
|
||||
widget = wibox.container.margin,
|
||||
},
|
||||
margins = {top = dpi(2), bottom = dpi(2)},
|
||||
widget = wibox.container.margin,
|
||||
}
|
||||
|
||||
return systray
|
Loading…
Add table
Add a link
Reference in a new issue