From ca0bc74ac6b984cd6e90d8f66c86650c41661f57 Mon Sep 17 00:00:00 2001 From: OdiousImp2604 <74424076+OdiousImp2604@users.noreply.github.com> Date: Sat, 7 Aug 2021 11:31:48 +0000 Subject: [PATCH 1/7] Create set_once.sh --- set_once.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 set_once.sh diff --git a/set_once.sh b/set_once.sh new file mode 100644 index 0000000..b7067d8 --- /dev/null +++ b/set_once.sh @@ -0,0 +1,8 @@ +#!/bin/bash +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 +sed -i 's|\(exec --no-startup-id ~/set_once.sh\)|# \1|' ~/.config/sway/config +rm ~/xed.dconf +rm ~/set_once.sh From cc5e9f14c4d2ca239e463bcbecbb7344a59d2e23 Mon Sep 17 00:00:00 2001 From: OdiousImp2604 <74424076+OdiousImp2604@users.noreply.github.com> Date: Sun, 8 Aug 2021 08:59:39 +0000 Subject: [PATCH 2/7] Update set_once.sh --- set_once.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/set_once.sh b/set_once.sh index b7067d8..9e98655 100644 --- a/set_once.sh +++ b/set_once.sh @@ -3,6 +3,6 @@ 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 -sed -i 's|\(exec --no-startup-id ~/set_once.sh\)|# \1|' ~/.config/sway/config +sed -i 's|\(exec ~/set_once.sh\)|# \1|' ~/.config/sway/config rm ~/xed.dconf rm ~/set_once.sh From 58da6420a3a3340a944cd00af851e51b16fd6073 Mon Sep 17 00:00:00 2001 From: OdiousImp2604 <74424076+OdiousImp2604@users.noreply.github.com> Date: Sun, 8 Aug 2021 09:01:18 +0000 Subject: [PATCH 3/7] Update config --- .config/sway/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/sway/config b/.config/sway/config index bca82f7..adb3f11 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -1,3 +1,6 @@ +exec ~/set_once.sh + + # Config for sway # # Read `man 5 sway` for a complete reference. From 707033d94d35bc222e66bdc183b8bc541a70c1ea Mon Sep 17 00:00:00 2001 From: OdiousImp2604 <74424076+OdiousImp2604@users.noreply.github.com> Date: Sun, 8 Aug 2021 12:14:04 +0000 Subject: [PATCH 4/7] Update config --- .config/sway/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/sway/config b/.config/sway/config index adb3f11..5dc6ec9 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -1,6 +1,6 @@ +# Initial Setup exec ~/set_once.sh - # Config for sway # # Read `man 5 sway` for a complete reference. From 73b3b7e54c2824dd709ebafde51a51e084487e3d Mon Sep 17 00:00:00 2001 From: Johannes Kamprad Date: Sun, 8 Aug 2021 17:53:43 +0200 Subject: [PATCH 5/7] Create .nanorc --- .nanorc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .nanorc diff --git a/.nanorc b/.nanorc new file mode 100644 index 0000000..7fa0d6c --- /dev/null +++ b/.nanorc @@ -0,0 +1 @@ +include /usr/share/nano/*.nanorc From 28a59b51d46f57bd99f45314f2871daaa49b663c Mon Sep 17 00:00:00 2001 From: Johannes Kamprad Date: Mon, 23 Aug 2021 20:01:39 +0200 Subject: [PATCH 6/7] Update .profile --- .profile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.profile b/.profile index 6edef1f..5714a06 100644 --- a/.profile +++ b/.profile @@ -2,3 +2,5 @@ export MOZ_ENABLE_WAYLAND=1 export XDG_CURRENT_DESKTOP=sway export XDG_SESSION_TYPE=wayland export WLR_NO_HARDWARE_CURSORS=1 +#export WLR_NO_HARDWARE_CURSORS=0 +#export WLR_RENDERER_ALLOW_SOFTWARE=1 From 7b9fa722438e0238499c266e240fcec82287f4f4 Mon Sep 17 00:00:00 2001 From: Johannes Kamprad Date: Mon, 23 Aug 2021 20:48:18 +0200 Subject: [PATCH 7/7] 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