desktop #2

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

2
config
View File

@ -1 +1 @@
configs/[TOP] Custom Minimal
/home/nicholai/.config/waybar/configs/[TOP] Custom Minimal

View File

@ -4,8 +4,8 @@
waybar_layouts="$HOME/.config/waybar/configs"
waybar_config="$HOME/.config/waybar/config"
# Get all available layouts
layouts=($(ls "$waybar_layouts" | sort))
# Get all available layouts (using mapfile to preserve filenames with spaces)
mapfile -t layouts < <(ls "$waybar_layouts" | sort)
# If wofi is available, use it for selection
if command -v wofi &> /dev/null; then

View File

@ -4,8 +4,8 @@
waybar_styles="$HOME/.config/waybar/style"
waybar_css="$HOME/.config/waybar/style.css"
# Get all available styles
styles=($(ls "$waybar_styles"/*.css 2>/dev/null | xargs -n1 basename | sort))
# Get all available styles (using mapfile to preserve filenames with spaces)
mapfile -t styles < <(find "$waybar_styles" -maxdepth 1 -type f -name "*.css" -exec basename {} \; | sort)
# If wofi is available, use it for selection
if command -v wofi &> /dev/null; then