From 487f1c87045932b521c98e9c5dd0c28deb367c85 Mon Sep 17 00:00:00 2001 From: Nicholai Date: Sun, 23 Nov 2025 23:10:47 -0700 Subject: [PATCH] Change switcher scripts to use wofi instead of rofi --- scripts/switch-layout.sh | 6 +++--- scripts/switch-style.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/switch-layout.sh b/scripts/switch-layout.sh index 9bb840a..e0a9633 100755 --- a/scripts/switch-layout.sh +++ b/scripts/switch-layout.sh @@ -7,9 +7,9 @@ waybar_config="$HOME/.config/waybar/config" # Get all available layouts layouts=($(ls "$waybar_layouts" | sort)) -# If rofi is available, use it for selection -if command -v rofi &> /dev/null; then - choice=$(printf '%s\n' "${layouts[@]}" | rofi -dmenu -i -p "Waybar Layout") +# If wofi is available, use it for selection +if command -v wofi &> /dev/null; then + choice=$(printf '%s\n' "${layouts[@]}" | wofi --dmenu -i -p "Waybar Layout") else # Otherwise use a simple CLI menu echo "Available Waybar Layouts:" diff --git a/scripts/switch-style.sh b/scripts/switch-style.sh index fbf45d0..7720bf4 100755 --- a/scripts/switch-style.sh +++ b/scripts/switch-style.sh @@ -7,9 +7,9 @@ waybar_css="$HOME/.config/waybar/style.css" # Get all available styles styles=($(ls "$waybar_styles"/*.css 2>/dev/null | xargs -n1 basename | sort)) -# If rofi is available, use it for selection -if command -v rofi &> /dev/null; then - choice=$(printf '%s\n' "${styles[@]}" | rofi -dmenu -i -p "Waybar Style") +# If wofi is available, use it for selection +if command -v wofi &> /dev/null; then + choice=$(printf '%s\n' "${styles[@]}" | wofi --dmenu -i -p "Waybar Style") else # Otherwise use a simple CLI menu echo "Available Waybar Styles:"