From 0089c14d6e228cca2081558bdecbae71a7247eaf Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Sat, 4 May 2024 09:02:08 -0400 Subject: [PATCH] Add graphics module to show nvidia driver version --- README.org | 92 ++++++++++++++++++++++++++++++++++++++++++++-- polybar/config.ini | 84 ++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 170 insertions(+), 6 deletions(-) diff --git a/README.org b/README.org index 7129e7c..94cd48e 100644 --- a/README.org +++ b/README.org @@ -5919,6 +5919,11 @@ media-playing-overline = ${self.background} tray-background = ${self.background} ; right +graphics-foreground = ${self.green} +graphics-background = ${self.background} +graphics-underline = ${self.background} +graphics-overline = ${self.background} + kernel-foreground = ${self.orange} kernel-background = ${self.background} kernel-underline = ${self.background} @@ -5996,6 +6001,7 @@ Define module update intervals in seconds. #+BEGIN_SRC conf :tangle polybar/config.ini [intervals] media-playing = 1 +graphics = 86400 kernel = 86400 cpu = 1 memory = 1 @@ -6145,7 +6151,7 @@ font-5 = "IPAPGothic:size=11;3" ; modules-right = ipc clock modules-left = powermenu-left powermenu powermenu-right dwm volume-left volume volume-right media-playing-left media-playing-change media-playing-prev media-playing-play-pause media-playing-next media-playing media-playing-right ; modules-center = -modules-right = kernel-left kernel kernel-right cpu-left cpu cpu-right memory-left memory memory-right filesystem-left filesystem filesystem-right date-left date date-right time-left time time-right dunst-left dunst-status dunst-clear dunst-history-view dunst-history-clear dunst-history-length dunst-right +modules-right = kernel-left kernel kernel-right graphics-left graphics graphics-right cpu-left cpu cpu-right memory-left memory memory-right filesystem-left filesystem filesystem-right date-left date date-right time-left time time-right dunst-left dunst-status dunst-clear dunst-history-view dunst-history-clear dunst-history-length dunst-right ; The separator will be inserted between the output of each module separator = "" @@ -6760,7 +6766,7 @@ interval = ${intervals.kernel} ; Available tags: ; - deprecated ;