i3blocks.conf (1513B)
1 # i3blocks configuration file 2 # 3 # The i3blocks man page describes the usage of the binary, 4 # and its website describes the configuration: 5 # 6 # https://vivien.github.io/i3blocks 7 8 9 # Global properties 10 separator=false 11 separator_block_width=25 12 13 #[documentation] 14 #full_text=Documentation 15 #website=https://vivien.github.io/i3blocks 16 #command=xdg-open "$website" 17 #color=#f12711 18 19 #[greetings] 20 #color=#f5af19 21 #command=echo "Hello, $USER!" 22 #interval=once 23 24 [AZ] 25 color=#ff7aa2 26 label=AZ 27 command=date -d '10 hour ago' "+%H:%M" 28 interval=5 29 30 [BTC] 31 command=curl -s rate.sx | awk 'FNR == 13 {print $4 " " $8}' | sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g'; [[ -z "${BLOCK_BUTTON}" ]] || st -e sh -c "curl -s rate.sx; $SHELL;" 32 interval=200 33 34 [mpd] 35 color=#178787 36 command=mpc | awk 'FNR ==1' | awk -F\/ '{print $NF}' | cut -f 1 -d '.' | colrm 25 ; /home/michael/.scripts/music.sh 37 #[[ -z "${BLOCK_BUTTON}" ]] || st -e ncmpcpp 38 interval=1 39 signal=15 40 41 [volume] 42 command=~/.scripts/volume 43 label=V 44 interval=once 45 signal=10 46 47 [memory] 48 color=#bdbfff 49 label=M 50 command=free -m | awk 'FNR == 2 {print $3}'; [[ -z "${BLOCK_BUTTON}" ]] || st -e htop 51 interval=2 52 53 [cpu_usage] 54 label=CPU 55 interval=10 56 min_width=CPU 100.00% 57 58 [storage] 59 label=S 60 command=df -h / | awk 'FNR == 2 {print $4}' 61 interval=10 62 63 [network] 64 color=#828aa1 65 command=nmcli | awk 'FNR == 1 {print $4}' 66 interval=10 67 68 [battery] 69 command=/home/michael/.scripts/battery 70 interval=1 71 72 [time] 73 color=#ffadc5 74 command=date '+%d-%m-%Y %H:%M '; [[ -z "${BLOCK_BUTTON}" ]] || st -e sh -c "cal;$SHELL" 75 interval=1