From fa50b92a68b79f8a78f8c0054b9c8ad400522026 Mon Sep 17 00:00:00 2001 From: Daniel <89086143+BardofSprites@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:44:12 -0400 Subject: update bar, better click modules --- bin/.local/bin/scripts/status/battery.sh | 1 + bin/.local/bin/scripts/status/volume-pulseaudio | 5 +++-- bin/.local/bin/scripts/status/weather | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/.local/bin/scripts/status/battery.sh b/bin/.local/bin/scripts/status/battery.sh index e027c68..73f5c1a 100755 --- a/bin/.local/bin/scripts/status/battery.sh +++ b/bin/.local/bin/scripts/status/battery.sh @@ -4,6 +4,7 @@ # to charge status (🔌 for plugged up, 🔋 for discharging on battery, etc.). case $BLOCK_BUTTON in + 1) notify-send "🔋 $(acpi)" ;; 3) notify-send "🔋 Battery module" "🔋: discharging 🛑: not charging ♻: stagnant charge diff --git a/bin/.local/bin/scripts/status/volume-pulseaudio b/bin/.local/bin/scripts/status/volume-pulseaudio index 4cb6b9d..5a005d8 100755 --- a/bin/.local/bin/scripts/status/volume-pulseaudio +++ b/bin/.local/bin/scripts/status/volume-pulseaudio @@ -18,8 +18,9 @@ AUDIO_DELTA=${AUDIO_DELTA:-5} DEFAULT_COLOR=${DEFAULT_COLOR:-"#000000"} MUTED_COLOR=${MUTED_COLOR:-"#a0a0a0"} -LONG_FORMAT=${LONG_FORMAT:-'${SYMB} ${VOL}% [${INDEX}:${NAME}]'} -SHORT_FORMAT=${SHORT_FORMAT:-'${SYMB} ${VOL}% [${INDEX}]'} +# LONG_FORMAT=${LONG_FORMAT:-'${SYMB} ${VOL}% [${INDEX}:${NAME}]'} +LONG_FORMAT=${LONG_FORMAT:-'${SYMB} ${VOL}%'} +SHORT_FORMAT=${SHORT_FORMAT:-'${SYMB} ${VOL}%'} USE_ALSA_NAME=${USE_ALSA_NAME:-0} USE_DESCRIPTION=${USE_DESCRIPTION:-0} diff --git a/bin/.local/bin/scripts/status/weather b/bin/.local/bin/scripts/status/weather index ccf5847..3d31aa9 100755 --- a/bin/.local/bin/scripts/status/weather +++ b/bin/.local/bin/scripts/status/weather @@ -39,7 +39,7 @@ showweather() { } case $BLOCK_BUTTON in - 1) setsid -f "$TERMINAL" -e less -Sfr "$weatherreport" ;; + 1) setsid -f "$TERMINAL" -n "floatterm" -g "150x35" -e less -Sfr "$weatherreport" ;; 2) getforecast && showweather ;; 3) notify-send "🌈 Weather module" "\- Left click for full forecast. - Middle click to update forecast. -- cgit v1.2.3