initial commit

This commit is contained in:
THEON-1
2025-12-04 19:12:13 +01:00
commit 5632833dab
5 changed files with 181 additions and 0 deletions

46
config Normal file
View File

@@ -0,0 +1,46 @@
# i3blocks configuration file
#
# The i3blocks man page describes the usage of the binary,
# and its website describes the configuration:
#
# https://vivien.github.io/i3blocks
# Global properties
separator=true
separator_block_width=15
[Volume]
command=echo "$(wpctl get-volume @DEFAULT_SINK@ 2>/dev/null | grep -q 'MUTED' && echo '' || echo '') $(wpctl get-volume @DEFAULT_SINK@ 2>/dev/null | grep -Eo ' \S*' | head -n 1)%" | tr -d . | sed "s/ 0/ /g"
interval=10
[Brightness]
command=echo "100*$(brightnessctl g)/$(brightnessctl m)" | bc | sed "s/$/%/g"
label=󰃠
interval=10
[Iface]
command=./iface
color=#98971a
interval=10
[Wifi]
command=./wifi
label=
interface=wlp1s0
interval=10
[Cpu]
command=./cpu_usage
label=
interval=10
[Battery]
command=./battery
interval=30
[Time]
command=date
label=
interval=1