dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README

commit 42db096b71b238c5d02f8b7e09de2b7ab23b98a4
parent 582fcbb330378deb9e8836954364f16dfcf0f6d2
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date:   Thu,  6 Jan 2022 18:14:13 -0500

Updated polybar

Diffstat:
Mlinux/.config/polybar/config | 11++++++++---
Mlinux/.config/polybar/scripts/taskwarrior.sh | 4++--
Mlinux/.config/polybar/scripts/updates-pacman-aurhelper.sh | 2+-
3 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/linux/.config/polybar/config b/linux/.config/polybar/config @@ -58,7 +58,7 @@ scroll-down = i3wm-wsprev inherit = bar/base padding-left = 0 modules-left = i3 xwindow -modules-right = timer taskwarrior updates-arch-combined xkeyboard backlight volume date +modules-right = rss timer taskwarrior updates-arch-combined xkeyboard backlight volume date [bar/bottom] inherit = bar/base @@ -311,7 +311,7 @@ scroll-down = ~/.config/polybar/scripts/polybar-timer/polybar-timer.sh increase [module/taskwarrior] type = custom/script -interval = 5 +interval = 10 exec = ~/.config/polybar/scripts/taskwarrior.sh tail = true format = <label> @@ -323,7 +323,12 @@ click-left = kill -USR1 %pid% [module/system-nvidia-smi] type = custom/script exec = ~/.config/polybar/scripts/system-nvidia-smi.sh -interval = 2 +interval = 3 + +[module/rss] +type = custom/script +exec = ~/.config/polybar/scripts/newsboat.sh +interval = 15 [settings] screenchange-reload = true diff --git a/linux/.config/polybar/scripts/taskwarrior.sh b/linux/.config/polybar/scripts/taskwarrior.sh @@ -3,7 +3,7 @@ next_id=$(task next rc.verbose: limit:1 id | cut -d ' ' -f2) if [ -z $active_id ] then - echo NEXT $(task _get ${next_id}.description) + echo  NEXT $(task _get ${next_id}.description) else - echo ACTIVE $(task _get ${active_id}.description) + echo  ACTIVE $(task _get ${active_id}.description) fi diff --git a/linux/.config/polybar/scripts/updates-pacman-aurhelper.sh b/linux/.config/polybar/scripts/updates-pacman-aurhelper.sh @@ -15,7 +15,7 @@ fi updates=$(("$updates_arch" + "$updates_aur")) if [ "$updates" -gt 0 ]; then - echo "# $updates" + echo " $updates" else echo "" fi