From 132ec769505533c24bd06f6604913fdc1db6fe35 Mon Sep 17 00:00:00 2001 From: Vikas Kushwaha Date: Sun, 1 Jun 2025 20:48:49 +0530 Subject: git updates --- .config/i3blocks/bar2 | 86 +++++++++++++++++++++++++++++++++++++++++++++ .config/i3blocks/config | 16 ++++++--- .config/i3blocks/systeminfo | 78 ---------------------------------------- 3 files changed, 97 insertions(+), 83 deletions(-) create mode 100644 .config/i3blocks/bar2 delete mode 100644 .config/i3blocks/systeminfo (limited to '.config/i3blocks') diff --git a/.config/i3blocks/bar2 b/.config/i3blocks/bar2 new file mode 100644 index 0000000..3bcfe48 --- /dev/null +++ b/.config/i3blocks/bar2 @@ -0,0 +1,86 @@ +# i3blocks configuration file +# +# The i3blocks man page describes the usage of the binary, +# and its website describes the configuration: +# https://vivien.github.io/i3blocks +# +# List of valid properties: +# align +# color +# command +# full_text +# instance +# interval +# label +# min_width +# name +# separator +# separator_block_width +# short_text +# signal +# urgent + + +# Global properties +separator=false +separator_block_width=60 + +# Guess the weather hourly +[weather] +separator=true +separator_block_width=50 +command=i3weather 2 +interval=1800 +color=#A4C2F4 + +# [badwidth] +# seprator=false +# command=echo "$(i3bandwidth)" +# interval=1 + +# [wifi] +# # command=echo "📡 $(i3wifi wlp0s20f3)" +# command=i3wifi wlp0s20f3 +# interval=1 + +# [battery] +# command=i3battery +# interval=1 + +# [cpu] +# command=echo " $(i3cpu)" +# interval=3 + +# [memory] +# separator=true +# separator_block_width=50 +# command=echo " $(i3memory)" +# interval=1 + +[disk_nas] +label=   +instance=/nas +interval=30 +command=disk_usage + +[disk-io] +separator_block_width=60 +command=disk-io +#command=$SCRIPT_DIR/disk-io -w 3 -M -P 0 +interval=persist +markup=pango +LABEL=   +#instance=/^sda/ +#DT=5 +#MB_ONLY=0 #0 or 1 +#KB_ONLY=0 #0 or 1 +#WIDTH=4 +#MB_PRECISION=1 +#KB_PRECISION=0 +#REGEX=/^(s|h)d[a-zA-Z]+/ +#THRESHOLD=0 +#WARN_COLOR="#FF0000" +#SEPARATOR=/ +#PREFIX= +#SUFFIX="B/s" + diff --git a/.config/i3blocks/config b/.config/i3blocks/config index 638f638..96f2448 100644 --- a/.config/i3blocks/config +++ b/.config/i3blocks/config @@ -29,7 +29,7 @@ separator_block_width=35 [weather] separator=true separator_block_width=50 -command=i3weather +command=i3weather 1 interval=1800 color=#A4C2F4 @@ -58,13 +58,19 @@ command=echo " $(i3memory)" interval=1 [datetime] -separator=false -separator_block_width=25 +separator=true # command=case "$BLOCK_BUTTON" in 1) TERM=256colors clearx -n 'cal -y --color=always | less' ;; 2) $TERMINAL -e nvim ~/.config/i3blocks/config ;; esac; date +'🕒 %H:%M:%S 🗓️ %a %d.%m.%Y ' -command=case "$BLOCK_BUTTON" in 1) $TERMINAL -e sh -c 'cal -y --color=always | less' ;; 2) $TERMINAL -e nvim ~/.config/i3blocks/config ;; esac; date +' %H:%M:%S 󰃭 %a %d.%m.%Y ' -color=#CCFFFF +command=case "$BLOCK_BUTTON" in 1) $TERMINAL -e sh -c 'cal -y --color=always | less' ;; 2) $TERMINAL -e nvim ~/.config/i3blocks/config ;; esac; date +' %H:%M:%S 󰃭 %a %d.%m.%Y ✝ ' +color=#BBDDDD interval=1 +# [cross] +# separator=true +# separator_block_width=25 +# command=echo "☦" +# color=#CCFFFF +# interval=once + # [ip] # command=hostname -i # | awk '{ print "IP:" $1 }' # interval=once diff --git a/.config/i3blocks/systeminfo b/.config/i3blocks/systeminfo deleted file mode 100644 index d4428a1..0000000 --- a/.config/i3blocks/systeminfo +++ /dev/null @@ -1,78 +0,0 @@ -# i3blocks configuration file -# -# The i3blocks man page describes the usage of the binary, -# and its website describes the configuration: -# https://vivien.github.io/i3blocks -# -# List of valid properties: -# align -# color -# command -# full_text -# instance -# interval -# label -# min_width -# name -# separator -# separator_block_width -# short_text -# signal -# urgent - - -# Global properties -separator=false -separator_block_width=60 - -# [badwidth] -# seprator=false -# command=echo "$(i3bandwidth)" -# interval=1 - -# [wifi] -# # command=echo "📡 $(i3wifi wlp0s20f3)" -# command=i3wifi wlp0s20f3 -# interval=1 - -# [battery] -# command=i3battery -# interval=1 - -# [cpu] -# command=echo " $(i3cpu)" -# interval=3 - -# [memory] -# separator=true -# separator_block_width=50 -# command=echo " $(i3memory)" -# interval=1 - -[disk_nas] -label=   -instance=/nas -interval=30 -command=disk_usage - -[disk-io] -separator_block_width=60 -command=disk-io -#command=$SCRIPT_DIR/disk-io -w 3 -M -P 0 -interval=persist -markup=pango -LABEL=   -#instance=/^sda/ -#DT=5 -#MB_ONLY=0 #0 or 1 -#KB_ONLY=0 #0 or 1 -#WIDTH=4 -#MB_PRECISION=1 -#KB_PRECISION=0 -#REGEX=/^(s|h)d[a-zA-Z]+/ -#THRESHOLD=0 -#WARN_COLOR="#FF0000" -#SEPARATOR=/ -#PREFIX= -#SUFFIX="B/s" - -- cgit v1.2.3