desktop #2

Merged
Nicholai merged 9 commits from desktop into main 2025-11-25 11:00:35 +00:00
2 changed files with 6 additions and 6 deletions
Showing only changes of commit 487f1c8704 - Show all commits

View File

@ -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:"

View File

@ -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:"