From 96658becf041b4deef5c28555270b148d58356c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Sat, 23 Jul 2022 18:44:22 +0200 Subject: [PATCH] Adjuct systray spacing --- .alacritty.yml | 3 ++- awesome/components/pastel/top-panel.lua | 6 +++--- awesome/rc.lua | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.alacritty.yml b/.alacritty.yml index c3e66d0..fcde9d5 100644 --- a/.alacritty.yml +++ b/.alacritty.yml @@ -48,5 +48,6 @@ key_bindings: - { key: F11, action: ToggleFullscreen } window: - window.dynamic_padding: true + dynamic_padding: true opacity: 0.5 + dynamic-title: true diff --git a/awesome/components/pastel/top-panel.lua b/awesome/components/pastel/top-panel.lua index 776aacd..bad30f8 100644 --- a/awesome/components/pastel/top-panel.lua +++ b/awesome/components/pastel/top-panel.lua @@ -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), } diff --git a/awesome/rc.lua b/awesome/rc.lua index 288cc18..1aa69c4 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -40,6 +40,7 @@ local run_on_start_up = { "numlockx on", "bluetoothctl power on", "nm-applet", + "blueman-applet" } -- ===================================================================