summaryrefslogtreecommitdiff
path: root/dom0/files
diff options
context:
space:
mode:
Diffstat (limited to 'dom0/files')
-rw-r--r--dom0/files/misc-config/sway-config4
-rw-r--r--dom0/files/scripts/sway-login2
-rw-r--r--dom0/files/scripts/sway-login-laptop3
3 files changed, 6 insertions, 3 deletions
diff --git a/dom0/files/misc-config/sway-config b/dom0/files/misc-config/sway-config
index fd4e37f..60e6eed 100644
--- a/dom0/files/misc-config/sway-config
+++ b/dom0/files/misc-config/sway-config
@@ -28,7 +28,7 @@ output * bg $HOME/.config/guix-config/dom0/files/wallpapers/taclnc.png fill
# output HDMI-A-1 resolution 1920x1080 position 1920,0
output * resolution 1920x1080
exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY
-exec spice-vdagent
+# exec spice-vdagent
# You can get the names of your outputs by running: swaymsg -t get_outputs
### Idle configuration
@@ -222,7 +222,7 @@ bar {
# When the status_command prints a new line to stdout, swaybar updates.
# The default just shows the current date and time.
- status_command while (echo "!! WARNING !! THIS IS Dom0 !! $(date +'%Y-%m-%d %X'); do sleep 1; done
+ status_command while (echo "! ! WARNING ! ! THIS IS Dom0 ! ! $(date +'%Y-%m-%d %X')"); do sleep 1; done
colors {
statusline #ffffff
diff --git a/dom0/files/scripts/sway-login b/dom0/files/scripts/sway-login
index 3792a85..2711786 100644
--- a/dom0/files/scripts/sway-login
+++ b/dom0/files/scripts/sway-login
@@ -1,3 +1,3 @@
if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
- exec sway;
+ exec sway --unsupported-gpu;
fi
diff --git a/dom0/files/scripts/sway-login-laptop b/dom0/files/scripts/sway-login-laptop
new file mode 100644
index 0000000..3792a85
--- /dev/null
+++ b/dom0/files/scripts/sway-login-laptop
@@ -0,0 +1,3 @@
+if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
+ exec sway;
+fi