From 33a8f5bb9aece23e75a0b7d6a4e5080b9d1b0171 Mon Sep 17 00:00:00 2001 From: Sravan Balaji Date: Fri, 3 May 2024 18:59:48 -0400 Subject: [PATCH] Update dunst module to include more buttons and history count - Change filesystem module interval to 10 minutes - Add more modules for dunst - Change power menu module icon - Change some media module components from scripts to text --- README.org | 126 +++++++++++++++++++++----------- polybar/config.ini | 105 +++++++++++++++----------- polybar/scripts/dunst-status.sh | 8 ++ 3 files changed, 155 insertions(+), 84 deletions(-) create mode 100755 polybar/scripts/dunst-status.sh diff --git a/README.org b/README.org index 122402f..702513a 100644 --- a/README.org +++ b/README.org @@ -5989,18 +5989,20 @@ Define module update intervals in seconds. | Seconds | Minutes | Hours | |---------+---------+-------| +| 600 | 10 | 0.17 | | 900 | 15 | 0.25 | | 86400 | 1440 | 24 | #+BEGIN_SRC conf :tangle polybar/config.ini [intervals] -cpu = 1 -date = 1 -time = 1 -filesystem = 900 -memory = 1 -media-playing = 1 -kernel = 86400 +media-playing = 1 +kernel = 86400 +cpu = 1 +memory = 1 +filesystem = 600 +date = 1 +time = 1 +dunst = 1 #+END_SRC **** Global Window Manager @@ -6143,7 +6145,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 dunst-right +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-history-view dunst-history-clear dunst-history-length dunst-right ; The separator will be inserted between the output of each module separator = "" @@ -6273,7 +6275,7 @@ content-padding = ${sizes.module-padding} [module/powermenu] type = custom/text ; content = " Menu" -content = "" +content = "󰀻" ; content = "" ; "content" has the same properties as "format-NAME" @@ -6463,16 +6465,14 @@ click-left = "/home/sravan/.scripts/playerctl.sh --change" #+BEGIN_SRC conf :tangle polybar/config.ini [module/media-playing-prev] -type = custom/script -exec = echo "󰒮" -format =