From 6c28f08d5f168afd79ac823876e9bcf617fdbd59 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Thu, 29 Oct 2020 09:12:24 -0400 Subject: Statusbar --- desktop/.conkyrc | 3 ++- desktop/.xsession | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/desktop/.conkyrc b/desktop/.conkyrc index e225ba1..caa29b2 100644 --- a/desktop/.conkyrc +++ b/desktop/.conkyrc @@ -10,5 +10,6 @@ conky.config = { -- ${if_pa_sink_muted}OFF$else${pa_sink_volume}%$endif conky.text = [[ -${if_up wlp39s0}^fn(FontAwesome)^fn() ${wireless_essid wlp39s0}${endif}^p(20)\ +^fg(\#237AD3)^fn(FontAwesome)^fn()^fg() ${if_pa_sink_muted}${else}${pa_sink_volume}%${endif}^p(20)\ +${if_up wlp39s0}^fg(\#237AD3)^fn(FontAwesome)^fn()^fg() ${wireless_essid wlp39s0}${endif}^p(20)\ ^fg()${time %m月%d号%H:%M}]] diff --git a/desktop/.xsession b/desktop/.xsession index 640c88b..223bff4 100755 --- a/desktop/.xsession +++ b/desktop/.xsession @@ -16,7 +16,7 @@ pasystray & xss-lock -- /usr/bin/env xscreensaver-command --lock & xset -b dzen2 -dock -x 0 -h 24 -e 'onstart=lower' -bg '#252526' -p & -conky | dzen2 -dock -geometry 1000x24-1150+0 -expand left -fn "WenQuanYi Micro Hei-16" -ta r -bg '#252526' -fg '#f4f4f4' & +conky | dzen2 -dock -geometry 800x24-950+0 -expand left -fn "WenQuanYi Micro Hei-16" -ta r -bg '#252526' -fg '#f4f4f4' & trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 100 --widthtype pixel --transparent true --height 24 --tint 0x252526 --alpha 0 & [[ -f /etc/nixos/configuration.nix ]] || \ -- cgit v1.2.3