Adjuct systray spacing

This commit is contained in:
Thomas Avé 2022-07-23 18:44:22 +02:00
parent b72430b384
commit 96658becf0
3 changed files with 6 additions and 4 deletions

View File

@ -48,5 +48,6 @@ key_bindings:
- { key: F11, action: ToggleFullscreen }
window:
window.dynamic_padding: true
dynamic_padding: true
opacity: 0.5
dynamic-title: true

View File

@ -103,13 +103,13 @@ top_panel.create = function(s)
{
layout = wibox.layout.fixed.horizontal,
pl(wibox.widget{}, theme.bg_normal .. "00", theme.top_panel_powerline),
pl(wibox.widget.systray(), theme.top_panel_powerline, theme.bg_normal),
pl(wibox.container.margin(wibox.widget.systray(), 0, 0, 5, 5), theme.top_panel_powerline, theme.bg_normal),
pl(volume_widget({widget_type='icon_and_text'}), theme.bg_normal, theme.top_panel_powerline),
pl(updates_indicator, theme.top_panel_powerline, theme.bg_normal),
pl(awful.widget.watch('bash -c "sensors | grep Tctl | cut -f 10 -d \' \' | cut -c 2-"', 5), theme.top_panel_powerline, theme.bg_normal),
pl(memory_widget, theme.bg_normal, theme.top_panel_powerline),
pl(cpu_widget, theme.top_panel_powerline, theme.bg_normal),
pl(frequency_widget, theme.bg_normal, theme.top_panel_powerline),
pl(awful.widget.watch('bash -c "sensors | grep Tctl | cut -f 10 -d \' \' | cut -c 2-"', 5), theme.top_panel_powerline, theme.bg_normal),
pl(updates_indicator, theme.top_panel_powerline, theme.bg_normal),
pl(require("widgets.layout-box"), theme.bg_normal, theme.top_panel_powerline),
pl(wibox.widget.textclock('%a %b %d, %H:%M:%S', 1), theme.top_panel_powerline, theme.top_panel_powerline),
}

View File

@ -40,6 +40,7 @@ local run_on_start_up = {
"numlockx on",
"bluetoothctl power on",
"nm-applet",
"blueman-applet"
}
-- ===================================================================