summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2020-10-29 09:12:24 -0400
committerKjetil Orbekk <kj@orbekk.com>2020-10-29 09:12:24 -0400
commit6c28f08d5f168afd79ac823876e9bcf617fdbd59 (patch)
tree65dbac899d31aa944673a80dee32b8477d38887e
parent0c151aa260086e8301a598f8e2c398831d50b886 (diff)
Statusbar
-rw-r--r--desktop/.conkyrc3
-rwxr-xr-xdesktop/.xsession2
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 ]] || \