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 2 deletions
Showing only changes of commit 600a35020b - Show all commits

View File

@ -21,9 +21,11 @@ else
fi
if [[ -n "$choice" ]]; then
ln -sf "$waybar_layouts/$choice" "$waybar_config"
# Use absolute path for the symlink target
ln -sf "$(realpath "$waybar_layouts/$choice")" "$waybar_config"
echo "Switched to: $choice"
killall waybar
sleep 0.5
waybar &
else
echo "No selection made"

View File

@ -21,9 +21,11 @@ else
fi
if [[ -n "$choice" ]]; then
ln -sf "$waybar_styles/$choice" "$waybar_css"
# Use absolute path for the symlink target
ln -sf "$(realpath "$waybar_styles/$choice")" "$waybar_css"
echo "Switched to: $choice"
killall waybar
sleep 0.5
waybar &
else
echo "No selection made"