Skip to content

Commit c4b3ab5

Browse files
committed
polybar_helper.sh renamed to _polybar_helper.sh
1 parent 9db25d3 commit c4b3ab5

9 files changed

+17
-17
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ shell scripts for polybar
77

88
| file | comment | image |
99
| :--------------------- | :---------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------- |
10+
| _polybar_helper.sh | used in the other scripts for output, net check, etc. | |
1011
| polybar.sh | start, restart, kill and cycle polybars | |
1112
| polybar_freshrss.sh | shows the number of rss feeds (unreaded/starred) from freshrss | ![rss polybar](images/rss_polybar.png) |
12-
| polybar_helper.sh | used in the other scripts for output, net check, etc. | |
1313
| polybar_inoreader.sh | shows the number of rss feeds (unreaded/starred) from inoreader | ![rss polybar](images/rss_polybar.png) |
1414
| polybar_music.sh | cmus statusbar and notification | ![cmus polybar](images/cmus_polybar.png) ![cmus notify](images/cmus_notify.png) |
1515
| polybar_openweather.sh | shows current/forecast weather and sunrise/sunset time from openweather | ![openweather polybar](images/openweather_polybar.png) ![openweather notify](images/openweather_notify.png) |

polybar_helper.sh renamed to _polybar_helper.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/sh
22

3-
# path: /home/klassiker/.local/share/repos/polybar/polybar_helper.sh
3+
# path: /home/klassiker/.local/share/repos/polybar/_polybar_helper.sh
44
# author: klassiker [mrdotx]
55
# github: https://github.com/mrdotx/polybar
6-
# date: 2024-02-27T13:01:10+0100
6+
# date: 2024-12-18T07:53:02+0100
77

88
polybar_add_spacer() {
99
polybar_add_spacer_output="$1"

polybar_freshrss.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# path: /home/klassiker/.local/share/repos/polybar/polybar_freshrss.sh
44
# author: klassiker [mrdotx]
55
# github: https://github.com/mrdotx/polybar
6-
# date: 2023-11-30T14:03:52+0100
6+
# date: 2024-12-18T07:53:08+0100
77

88
# speed up script by using standard c
99
LC_ALL=C
@@ -17,7 +17,7 @@ url_request="http://m625q/freshrss/api/greader.php/reader/api/0"
1717
url_parameter="?output=json"
1818

1919
# source polybar helper
20-
. polybar_helper.sh
20+
. _polybar_helper.sh
2121

2222
request() {
2323
get_pass() {

polybar_inoreader.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# path: /home/klassiker/.local/share/repos/polybar/polybar_inoreader.sh
44
# author: klassiker [mrdotx]
55
# github: https://github.com/mrdotx/polybar
6-
# date: 2023-11-30T14:04:07+0100
6+
# date: 2024-12-18T07:53:12+0100
77

88
# speed up script by using standard c
99
LC_ALL=C
@@ -19,7 +19,7 @@ url_request="https://www.inoreader.com/reader/api/0"
1919
url_parameter="?AppId=$app_id&AppKey=$app_key"
2020

2121
# source polybar helper
22-
. polybar_helper.sh
22+
. _polybar_helper.sh
2323

2424
request() {
2525
get_pass() {

polybar_music.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
# path: /home/klassiker/.local/share/repos/polybar/polybar_music.sh
44
# author: klassiker [mrdotx]
55
# github: https://github.com/mrdotx/polybar
6-
# date: 2024-06-24T15:59:04+0200
6+
# date: 2024-12-18T07:53:17+0100
77

88
# source polybar helper
9-
. polybar_helper.sh
9+
. _polybar_helper.sh
1010

1111
trim_string() {
1212
if [ "$(printf "%s" "$2" | wc -m)" -ge "$1" ]; then

polybar_openweather.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# path: /home/klassiker/.local/share/repos/polybar/polybar_openweather.sh
44
# author: klassiker [mrdotx]
55
# github: https://github.com/mrdotx/polybar
6-
# date: 2024-12-02T07:30:54+0100
6+
# date: 2024-12-18T07:53:22+0100
77

88
# speed up script by using standard c
99
LC_ALL=C
@@ -17,7 +17,7 @@ gpg_file="$HOME/.local/share/repos/password-store/www/development/openweathermap
1717
location_file="/tmp/weather_location"
1818

1919
# source polybar helper
20-
. polybar_helper.sh
20+
. _polybar_helper.sh
2121

2222
request() {
2323
api_key="$( \

polybar_pacman.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
# path: /home/klassiker/.local/share/repos/polybar/polybar_pacman.sh
44
# author: klassiker [mrdotx]
55
# github: https://github.com/mrdotx/polybar
6-
# date: 2024-03-24T09:48:30+0100
6+
# date: 2024-12-18T07:53:26+0100
77

88
# use standard c to identify paru ignored updates
99
LC_ALL=C
1010
LANG=C
1111

1212
# source polybar helper
13-
. polybar_helper.sh
13+
. _polybar_helper.sh
1414

1515
get_pacman_mirror() {
1616
grep '^Server' /etc/pacman.d/mirrorlist \

polybar_services.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
# path: /home/klassiker/.local/share/repos/polybar/polybar_services.sh
44
# author: klassiker [mrdotx]
55
# github: https://github.com/mrdotx/polybar
6-
# date: 2024-11-03T06:58:57+0100
6+
# date: 2024-12-18T07:53:32+0100
77

88
# speed up script by using standard c
99
LC_ALL=C
1010
LANG=C
1111

1212
# source polybar helper
13-
. polybar_helper.sh
13+
. _polybar_helper.sh
1414

1515
set_output() {
1616
if [ -z "$services" ]; then

polybar_trash-cli.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
# path: /home/klassiker/.local/share/repos/polybar/polybar_trash-cli.sh
44
# author: klassiker [mrdotx]
55
# github: https://github.com/mrdotx/polybar
6-
# date: 2023-12-01T19:41:39+0100
6+
# date: 2024-12-18T07:53:37+0100
77

88
# speed up script by using standard c
99
LC_ALL=C
1010
LANG=C
1111

1212
# source polybar helper
13-
. polybar_helper.sh
13+
. _polybar_helper.sh
1414

1515
# auth can be something like sudo -A, doas -- or nothing,
1616
# depending on configuration requirements

0 commit comments

Comments
 (0)