diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2020-10-28 09:46:08 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2020-10-28 09:46:08 -0400 |
commit | 24c7e3957c21e6d8f05511eeb9b4900c2c0265f8 (patch) | |
tree | 54bf79656b35c4ba3d2b815076399af1877b0080 | |
parent | 1536024d9cbc55c196a3eeb829d3a5c241e30778 (diff) |
Update statusbar
-rw-r--r-- | desktop/.conkyrc | 14 | ||||
-rwxr-xr-x | desktop/.xsession | 1 |
2 files changed, 15 insertions, 0 deletions
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 & |