From 7b9fa722438e0238499c266e240fcec82287f4f4 Mon Sep 17 00:00:00 2001 From: Johannes Kamprad Date: Mon, 23 Aug 2021 20:48:18 +0200 Subject: [PATCH] Update set_once.sh --- set_once.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/set_once.sh b/set_once.sh index 9e98655..8c14921 100644 --- a/set_once.sh +++ b/set_once.sh @@ -3,6 +3,9 @@ dbus-launch dconf load / < ~/xed.dconf chmod -R +x ~/.config/sway/scripts chmod -R +x ~/.config/waybar/scripts 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 rm ~/xed.dconf rm ~/set_once.sh