Skip to content

Commit b142910

Browse files
committed
Rename bandwidth -> bandwidth3 to make room for default script
WARN: Breaks backwards compatibility
1 parent 343f881 commit b142910

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

bandwidth/i3blocks.conf

-4
This file was deleted.
File renamed without changes.

bandwidth/README.md bandwidth3/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# bandwidth
1+
# bandwidth3
22

33
Monitor bandwidth usage.
44

5-
![](bandwidth.png)
5+
![](bandwidth3.png)
66

77
# Usage
88

@@ -31,7 +31,7 @@ to wifi later.
3131
# Options
3232

3333
```
34-
Usage: bandwidth [-i interface] [-t time] [-u unit] [-p printf_command] [-l] [-h]
34+
Usage: bandwidth3 [-i interface] [-t time] [-u unit] [-p printf_command] [-l] [-h]
3535
Options:
3636
-i Network interface to measure. Default determined using `ip route`.
3737
-t Time interval in seconds between measurements. Default: 3

bandwidth/bandwidth bandwidth3/bandwidth3

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ while getopts i:t:u:p:lh opt; do
3636
p) printf_command="$OPTARG" ;;
3737
l) list_interfaces && exit 0 ;;
3838
h) printf \
39-
"Usage: bandwidth [-i interface] [-t time] [-u unit] [-p printf_command] [-l] [-h]
39+
"Usage: bandwidth3 [-i interface] [-t time] [-u unit] [-p printf_command] [-l] [-h]
4040
Options:
4141
-i\tNetwork interface to measure. Default determined using \`ip route\`.
4242
-t\tTime interval in seconds between measurements. Default: 3
File renamed without changes.

bandwidth3/i3blocks.conf

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[bandwidth3]
2+
command=$SCRIPT_DIR/bandwidth3
3+
interval=persist
4+
markup=pango

0 commit comments

Comments
 (0)