add qalculate icon & change date format polybar

This commit is contained in:
Laurent Le Houerou 2024-06-03 13:30:32 +04:00
parent 6a3065f947
commit 681a637d4d

View File

@ -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}