diff options
| author | Daniel <[email protected]> | 2024-04-30 16:44:12 -0400 |
|---|---|---|
| committer | Daniel <[email protected]> | 2024-04-30 16:44:12 -0400 |
| commit | fa50b92a68b79f8a78f8c0054b9c8ad400522026 (patch) | |
| tree | a69446ea7456fad069e680fe7da7a8a6e111232b /bin/.local | |
| parent | dc1a11c063d2a50005fed9e69b7be97577cf737d (diff) | |
update bar, better click modules
Diffstat (limited to 'bin/.local')
| -rwxr-xr-x | bin/.local/bin/scripts/status/battery.sh | 1 | ||||
| -rwxr-xr-x | bin/.local/bin/scripts/status/volume-pulseaudio | 5 | ||||
| -rwxr-xr-x | bin/.local/bin/scripts/status/weather | 2 |
3 files changed, 5 insertions, 3 deletions
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. |
