From 681a637d4d2060fcddca3ea74885231dcbdfb18e Mon Sep 17 00:00:00 2001 From: Laurent Le Houerou Date: Mon, 3 Jun 2024 13:30:32 +0400 Subject: [PATCH] add qalculate icon & change date format polybar --- polybar/.config/polybar/config.ini | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/polybar/.config/polybar/config.ini b/polybar/.config/polybar/config.ini index 94c4b60..a4d00e2 100644 --- a/polybar/.config/polybar/config.ini +++ b/polybar/.config/polybar/config.ini @@ -79,7 +79,7 @@ font-0 = FiraCode Nerd Font Mono;2 font-1 = Symbols Nerd Font;2 modules-left = xworkspaces -modules-right = filesystem pulseaudio-control-output memory cpu wlan date systray powermenu +modules-right = filesystem pulseaudio-control-output memory cpu wlan date qalculate systray powermenu cursor-click = pointer cursor-scroll = ns-resize @@ -93,6 +93,13 @@ enable-ipc = true ; override-redirect = true +[module/qalculate] +type = custom/script +exec = echo "%{T2}%{A1:qalculate-qt &:}%{A}%{T-}" +interval = once + + + [module/powermenu] type = custom/menu @@ -217,7 +224,7 @@ type = internal/date interval = 1 date = %H:%M -date-alt = %Y-%m-%d %H:%M:%S +date-alt = %A %d %B %Y %H:%M label = %date% label-foreground = ${colors.primary}