fix waybar check

This commit is contained in:
Tobias Powalowski 2023-07-12 08:45:41 +02:00
parent 8eb09a4fdf
commit 7f64eb03e6

View file

@ -741,7 +741,7 @@ EOF
echo 'NoDisplay=true' >> /usr/share/applications/"${i}".desktop
done
echo "Configuring waybar..."
if ! grep -q waybar /etc/sway/config; then
if ! grep -q 'exec waybar' /etc/sway/config; then
# hide sway-bar
sed -i '/position top/a mode invisible' /etc/sway/config
# diable not usable plugins