From 0dae9ef35628447e8a9a2079e904613e647430c5 Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Thu, 1 Jun 2023 09:41:34 +0200 Subject: [PATCH] add template for steam deck --- .../sway/{executable_config => executable_config.tmpl} | 8 ++++++++ 1 file changed, 8 insertions(+) rename dot_config/sway/{executable_config => executable_config.tmpl} (98%) diff --git a/dot_config/sway/executable_config b/dot_config/sway/executable_config.tmpl similarity index 98% rename from dot_config/sway/executable_config rename to dot_config/sway/executable_config.tmpl index 9d78fad..4ba6bbe 100644 --- a/dot_config/sway/executable_config +++ b/dot_config/sway/executable_config.tmpl @@ -182,7 +182,15 @@ bar { seat seat0 xcursor_theme capitaine-cursors 16 # display resoulution + +# machine-specific configuration +{{- if eq .chezmoi.hostname "SpectreOS" }} output eDP-1 pos 0 0 res 1920x1080 +{{- end }} + +{{- if eq .chezmoi.hostname "SpectreOS-deck" }} +output eDP-1 mode 800x1200 transform 90 +{{- end }} set $gnome-schema org.gnome.desktop.interface exec_always {