diff --git a/polybar-themes/sblocks/colors.ini b/polybar-themes/sblocks/colors.ini index c3d187e..1a178b0 100644 --- a/polybar-themes/sblocks/colors.ini +++ b/polybar-themes/sblocks/colors.ini @@ -13,7 +13,7 @@ ;; main colors ; background = #3B4252 -background = #282c34 +background = #24282f ; background-alt = #4C566A ; background-alt = "#464b55" background-alt = "#464b55" @@ -23,16 +23,16 @@ foreground-alt = "#abb2bf" primary = "#98be65" white = "#bbc2cf" black = "#464b55" -red = "#e06c75" +red = "#ff6c6b" pink = #EC6798 purple = "#c678dd" -blue = "#1E90FF" +blue = "#51afef" cyan = "#56B6c2" teal = #00B19F -green = "#98c379" +green = "#98be65" lime = #B9C244 yellow = "#d19a66" -amber = #EDB83F +amber = #d19a66 orange = #da8548 brown = #AC8476 gray = #9E9E9E diff --git a/polybar-themes/sblocks/modules.ini b/polybar-themes/sblocks/modules.ini index 2fb3ec5..0e1d4e9 100644 --- a/polybar-themes/sblocks/modules.ini +++ b/polybar-themes/sblocks/modules.ini @@ -20,8 +20,8 @@ headphone-soundcard = default ; Name of the master, speaker and headphone mixers ; Use the following command to list available mixer controls: ; $ amixer scontrols | sed -nr "s/.*'([[:alnum:]]+)'.*/\1/p" -; If master, speaker or headphone-soundcard isn't the default, -; use `amixer -c # scontrols` instead where # is the number +; If master, speaker or headphone-soundcard isn't the default, +; use `amixer -c # scontrols` instead where # is the number ; of the master, speaker or headphone soundcard respectively ; ; Default: Master @@ -294,13 +294,13 @@ enable-click = false ; Default: true ;;enable-scroll = false -; Set the scroll cycle direction +; Set the scroll cycle direction ; Default: true ;;reverse-scroll = false -; Use fuzzy (partial) matching on labels when assigning +; Use fuzzy (partial) matching on labels when assigning ; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces +; Example: code;♚ will apply the icon to all workspaces ; containing 'code' in the label ; Default: false fuzzy-match = true @@ -596,13 +596,13 @@ type = internal/i3 ; Default: true ;;wrapping-scroll = false -; Set the scroll cycle direction +; Set the scroll cycle direction ; Default: true ;;reverse-scroll = false -; Use fuzzy (partial) matching on labels when assigning +; Use fuzzy (partial) matching on labels when assigning ; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces +; Example: code;♚ will apply the icon to all workspaces ; containing 'code' in the label ; Default: false ;;fuzzy-match = true @@ -826,12 +826,12 @@ icon-next = " " icon-next-background = ${color.background-alt} icon-prev = " " icon-prev-background = ${color.background-alt} -icon-seekf = -icon-seekb = -icon-random = -icon-repeat = -icon-repeatone = -icon-single = +icon-seekf = +icon-seekb = +icon-random = +icon-repeat = +icon-repeatone = +icon-single = icon-consume = ; Used to display the state of random/repeat/repeatone/single @@ -1150,7 +1150,7 @@ type = internal/temperature interval = 0.5 ; Thermal zone to use -; To list all the zone types, run +; To list all the zone types, run ; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done ; Default: 0 thermal-zone = 0 diff --git a/polybar-themes/sblocks/scripts/package-updates b/polybar-themes/sblocks/scripts/package-updates index ac9cec2..4609d80 100755 --- a/polybar-themes/sblocks/scripts/package-updates +++ b/polybar-themes/sblocks/scripts/package-updates @@ -1,28 +1,28 @@ #!/usr/bin/env bash format() { - if [ "$1" -eq 0 ]; then - echo '-' - else - echo "$1" - fi + if [ "$1" -eq 0 ]; then + echo '-' + else + echo "$1" + fi } if ! updates_arch="$(checkupdates | wc -l)"; then - updates_arch=0 + updates_arch=0 fi -if ! updates_aur="$(paru -Qum 2>/dev/null | wc -l)"; then - updates_aur=0 +if ! updates_aur="$(paru -Qum 2> /dev/null | wc -l)"; then + updates_aur=0 fi updates="$((updates_arch + updates_aur))" if [ "$updates" -gt 0 ]; then - #echo " ($(format $updates_arch)/$(format $updates_aur))" - # echo " ($(format $updates_arch)/$(format $updates_aur))" - # dunstify -i "/usr/share/icons/breeze-dark/mimetypes/24/package-x-generic.svg" " Outdated Packages: ($(format $updates_arch)/$(format $updates_aur))" - # dunstify -i "/usr/share/icons/breeze-dark/mimetypes/24/package-x-generic.svg" "Outdated Packages: ($(format $updates_arch)/$(format $updates_aur))" - echo "%{B#ecbe7b} %{B-}%{B#464b55} ($(format $updates_arch)/$(format $updates_aur)) %{B-}" + #echo " ($(format $updates_arch)/$(format $updates_aur))" + # echo " ($(format $updates_arch)/$(format $updates_aur))" + # dunstify -i "/usr/share/icons/breeze-dark/mimetypes/24/package-x-generic.svg" " Outdated Packages: ($(format $updates_arch)/$(format $updates_aur))" + # dunstify -i "/usr/share/icons/breeze-dark/mimetypes/24/package-x-generic.svg" "Outdated Packages: ($(format $updates_arch)/$(format $updates_aur))" + echo "%{B#d19a66} %{B-}%{B#464b55} ($(format $updates_arch)/$(format $updates_aur)) %{B-}" else - echo + echo fi