desktop #2
2
config
2
config
@ -1 +1 @@
|
||||
configs/[TOP] Custom Minimal
|
||||
/home/nicholai/.config/waybar/configs/[TOP] Custom Minimal
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user