diff --git a/gui/polybar/config.ini b/gui/polybar/config.ini index b5774d6..05266bc 100644 --- a/gui/polybar/config.ini +++ b/gui/polybar/config.ini @@ -38,7 +38,7 @@ font-0 = Hack Nerd Font:size=10;2 height = 14pt ; modules modules-left = xworkspaces weather-thinkpad -modules-right = battery pulseaudio memory cpu wlan seafile calendar-sync bg-selector date-tp powermenu +modules-right = battery pulseaudio memory cpu wlan uptime seafile calendar-sync bg-selector date-tp powermenu [bar/desktop-bar] ; desktop bar config @@ -285,5 +285,13 @@ click-left = i3-scratchpad.sh scratch st -n scratch -e quotes -rl ; right click is daily quote click-right = i3-scratchpad.sh scratch st -n scratch -e quotes -dl +[module/uptime] +type = custom/script + +interval = 30 +format-prefix = "UP " +format-prefix-foreground = ${colors.primary} +exec = display_uptime + [settings] screenchange-reload = true diff --git a/terminals/tmux/tmux.sparse.conf b/terminals/tmux/tmux.sparse.conf index 0d06053..6c79a1e 100644 --- a/terminals/tmux/tmux.sparse.conf +++ b/terminals/tmux/tmux.sparse.conf @@ -36,7 +36,7 @@ set -g clock-mode-colour white # status config set -g status-interval 10 set -g status-style "bg=black, fg=brightWhite" -set -g status-right "#(display_uptime) | %a, %b %d %l:%M %P " +set -g status-right "%a, %b %d %l:%M %P " set -g status-right-length 100 set -g status-left ""