mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2025-07-27 20:53:34 +02:00
fixed my i3blocks bar, cleaned up some files and added snap and i3block-contrib
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#
|
||||
# The top properties below are applied to every block, but can be overridden.
|
||||
# Each block command defaults to the script name to avoid boilerplate.
|
||||
command=/usr/lib/i3blocks/$BLOCK_NAME
|
||||
command=/usr/lib/i3blocks/$BLOCK_NAME/$BLOCK_NAME
|
||||
separator_block_width=15
|
||||
markup=none
|
||||
|
||||
@@ -54,12 +54,12 @@ color=#999999
|
||||
# see the script for details.
|
||||
[temperature]
|
||||
command=bash ~/.config/i3/scripts/blocks/temp.sh
|
||||
label=
|
||||
label=
|
||||
interval=1
|
||||
color=#999999
|
||||
|
||||
[load_average]
|
||||
label=
|
||||
label=
|
||||
interval=10
|
||||
separator=true
|
||||
color=#999999
|
||||
@@ -68,7 +68,7 @@ color=#999999
|
||||
#
|
||||
# The type defaults to "mem" if the instance is not specified.
|
||||
[memory]
|
||||
label=
|
||||
label=
|
||||
separator=true
|
||||
interval=30
|
||||
color=#999999
|
||||
@@ -78,7 +78,7 @@ color=#999999
|
||||
# The script may be called with a optional argument to set the alert
|
||||
# (defaults to 10 for 10%).
|
||||
[disk]
|
||||
label=
|
||||
label=
|
||||
instance=/
|
||||
interval=5
|
||||
separator=true
|
||||
@@ -86,7 +86,7 @@ color=#999999
|
||||
|
||||
# Updates
|
||||
[updates]
|
||||
label=
|
||||
label=
|
||||
command=pacman -Qu | wc -l
|
||||
interval=60
|
||||
separator=true
|
||||
@@ -105,7 +105,7 @@ separator=true
|
||||
|
||||
# ping
|
||||
[ping]
|
||||
label=
|
||||
label=
|
||||
command=ping -c 2 8.8.8.8 | tail -1| awk '{print $4}' | cut -d '/' -f 2 | cut -f1 -d"."
|
||||
interval=60
|
||||
separator=true
|
||||
@@ -117,7 +117,7 @@ color=#999999
|
||||
# The second parameter overrides the mixer selection
|
||||
# See the script for details.
|
||||
[volume]
|
||||
label=
|
||||
label=
|
||||
instance=Master
|
||||
interval=1
|
||||
command=/usr/lib/i3blocks/volume 5 pulse
|
||||
@@ -129,7 +129,7 @@ color=#999999
|
||||
# The battery instance defaults to 0.
|
||||
[battery]
|
||||
#label=BAT
|
||||
label=
|
||||
label=
|
||||
#instance=1
|
||||
interval=30
|
||||
separator=true
|
||||
|
@@ -225,7 +225,7 @@ alias sp-prev=" sp-dbus Previous"
|
||||
SPOTIFY_PID="$(pidof -s spotify)"
|
||||
|
||||
if [[ -z "$SPOTIFY_PID" ]]; then
|
||||
echo "Error: Spotify is not running."
|
||||
echo "Spotify is not running."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -273,4 +273,4 @@ fi
|
||||
# liability, whether in an action of contract, tort or otherwise, arising from,
|
||||
# out of or in connection with the software or the use or other dealings in the
|
||||
# software.
|
||||
#
|
||||
#
|
||||
|
Reference in New Issue
Block a user