diff --git a/hosts/by-name/moby/polyfill.nix b/hosts/by-name/moby/polyfill.nix index 1c8beb787..c05129765 100644 --- a/hosts/by-name/moby/polyfill.nix +++ b/hosts/by-name/moby/polyfill.nix @@ -24,6 +24,12 @@ backlight = "backlight"; # /sys/class/backlight/*backlight*/brightness }; + sane.programs.sway.config = { + font = "pango:monospace 10"; + mod = "Mod1"; # prefer Alt + workspace_layout = "tabbed"; + }; + sane.gui.sxmo = { nogesture = true; settings = { diff --git a/hosts/common/programs/sway/sway-config b/hosts/common/programs/sway/sway-config index 8ea2648f3..2464f77ff 100644 --- a/hosts/common/programs/sway/sway-config +++ b/hosts/common/programs/sway/sway-config @@ -176,11 +176,15 @@ output "Pioneer Electronic Corporation VSX-524 0x00000101" { pos 0,0 res 1920x1080 } -# internal display +# laptop internal display output "Unknown 0x0637 0x00000000" { pos 1920,0 res 1920x1080 } +# pinephone internal display (a.k.a. "Unknown Unknown Unknown") +output "DSI-1" { + scale 1.6 +} # manually export PATH here, since all my user services need that, and sane-sandboxed implementation depends on it. # also, manually export XDG_DATA_DIRS. glib fails in weird ways (e.g. thinks everything is application/x-octet-stream mime type) without it.