From 0255f9444089c882372e22a7fb64fcd8110192f7 Mon Sep 17 00:00:00 2001 From: aaron-gh Date: Wed, 30 Nov 2022 19:08:46 +0000 Subject: [PATCH] Removed zenity dependency and made battery status use speech dispatcher --- i38.sh | 2 +- scripts/battery_status.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/i38.sh b/i38.sh index 8245ec6..61e3e9b 100644 --- a/i38.sh +++ b/i38.sh @@ -9,7 +9,7 @@ i3Path="${XDG_CONFIG_HOME:-$HOME/.config}/i3" export DIALOGOPTS='--no-lines --visit-items' # Check to make sure minimum requirements are installed. -for i in dialog grun sgtk-menu yad zenity ; do +for i in dialog grun sgtk-menu yad ; do if ! command -v "$i" &> /dev/null ; then missing+=("$i") fi diff --git a/scripts/battery_status.sh b/scripts/battery_status.sh index a2993f0..8204e01 100644 --- a/scripts/battery_status.sh +++ b/scripts/battery_status.sh @@ -7,4 +7,4 @@ export stat=`cat $f"/status"` export cap=`cat $f"/capacity"` echo battery $f": "$stat", "$cap"%" fi -done|zenity --text-info --filename=/dev/stdin --title "Power Status" \ No newline at end of file +done|spd-say -e \ No newline at end of file