From 24c7e3957c21e6d8f05511eeb9b4900c2c0265f8 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Wed, 28 Oct 2020 09:46:08 -0400 Subject: Update statusbar --- desktop/.conkyrc | 14 ++++++++++++++ desktop/.xsession | 1 + 2 files changed, 15 insertions(+) create mode 100644 desktop/.conkyrc diff --git a/desktop/.conkyrc b/desktop/.conkyrc new file mode 100644 index 0000000..e8f61e5 --- /dev/null +++ b/desktop/.conkyrc @@ -0,0 +1,14 @@ +conky.config = { + background = false + , out_to_console = true + , out_to_x = false + , update_interval = 1.0 + , total_run_times = 0 + , use_spacer = none +} + +-- ${if_pa_sink_muted}OFF$else${pa_sink_volume}%$endif + +conky.text = [[ +${if_up wlp39s0}wlan ${wireless_essid wlp39s0}${endif} \ +^fg()${time %a %b %d %I:%M%P}]] diff --git a/desktop/.xsession b/desktop/.xsession index 401c53e..f737088 100755 --- a/desktop/.xsession +++ b/desktop/.xsession @@ -16,6 +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 "DejaVu Sans:pixelsize=20" -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 ]] || \ redshift -l 40:-70 -r -t 5500:3700 & -- cgit v1.2.3