@@ -1,3 +1,6 @@
|
||||
# Initial Setup
|
||||
exec ~/set_once.sh
|
||||
|
||||
# Config for sway
|
||||
#
|
||||
# Read `man 5 sway` for a complete reference.
|
||||
|
||||
1
.profile
1
.profile
@@ -2,4 +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
|
||||
|
||||
11
set_once.sh
Normal file
11
set_once.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
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
|
||||
Reference in New Issue
Block a user