From b25966b0d3b433af388e93c560fa7ecdcd924360 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 17 Jul 2022 13:04:37 +0200 Subject: [PATCH] Polybar: powermenu ausgebaut --- polybar/conf.d/mod_powermenu | 26 -------------------------- polybar/config | 6 +++--- 2 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 polybar/conf.d/mod_powermenu diff --git a/polybar/conf.d/mod_powermenu b/polybar/conf.d/mod_powermenu deleted file mode 100644 index 2abeff4..0000000 --- a/polybar/conf.d/mod_powermenu +++ /dev/null @@ -1,26 +0,0 @@ -[module/powermenu] -type = custom/menu -expand-right = true -format-spacing = 1 -label-open =  -label-open-foreground = ${colors.secondary} -label-close =  cancel -label-close-foreground = ${colors.secondary} -label-separator = | -label-separator-foreground = ${colors.foreground-alt} -menu-0-0 = reboot -menu-0-0-exec = #powermenu.open.1 -menu-0-1 = power off -menu-0-1-exec = #powermenu.open.2 -menu-0-2 = suspend -menu-0-2-exec = #powermenu.open.3 -menu-0-3 = hibernate -menu-0-3-exec = #powermenu.open.4 -menu-1-0 = reboot -menu-1-0-exec = reboot -menu-2-0 = power off -menu-2-0-exec = poweroff -menu-3-0 = suspend -menu-3-0-exec = i3lock --ignore-empty-password --color 000000 && systemctl suspend -menu-4-0 = hibernate -menu-4-0-exec = i3lock --ignore-empty-password --color 000000 && systemctl hibernate diff --git a/polybar/config b/polybar/config index d9d5157..e63acaa 100644 --- a/polybar/config +++ b/polybar/config @@ -23,13 +23,13 @@ margin-bottom = 5 inherit = bar/defaults modules-left = i3 modules-center = -modules-right = alsa backlight cpu system-cpu-loadavg memory df battery time powermenu +modules-right = alsa backlight cpu system-cpu-loadavg memory df battery time tray-position = right tray-padding = 2 [bar/unten] inherit = bar/defaults bottom = true -modules-left = +modules-left = modules-center = polywins -modules-right = +modules-right =