Update set_once.sh

This commit is contained in:
Johannes Kamprad
2021-08-23 20:48:18 +02:00
committed by GitHub
parent 28a59b51d4
commit 7b9fa72243

View File

@@ -3,6 +3,9 @@ dbus-launch dconf load / < ~/xed.dconf
chmod -R +x ~/.config/sway/scripts chmod -R +x ~/.config/sway/scripts
chmod -R +x ~/.config/waybar/scripts chmod -R +x ~/.config/waybar/scripts
chmod -R +x ~/.config/wofi/windows.py chmod -R +x ~/.config/wofi/windows.py
case "$(systemd-detect-virt)" in
kvm | qemu) sed -i ~/.profile -e 's|^#\(export WLR_RENDERER_ALLOW_SOFTWARE=1\)$|\1|' ;;
esac
sed -i 's|\(exec ~/set_once.sh\)|# \1|' ~/.config/sway/config sed -i 's|\(exec ~/set_once.sh\)|# \1|' ~/.config/sway/config
rm ~/xed.dconf rm ~/xed.dconf
rm ~/set_once.sh rm ~/set_once.sh