chore(sway): adjust outputs for pixelbook
GitOrigin-RevId: d957283ccdd0fcec4e06fa7a9c379d1aaa97e40b
diff --git a/private_dot_config/sway/config.tmpl b/private_dot_config/sway/config.tmpl
index 11f1ef8..210c961 100644
--- a/private_dot_config/sway/config.tmpl
+++ b/private_dot_config/sway/config.tmpl
@@ -35,6 +35,9 @@
{{- end }}
set $auxScreen "LG Electronics LG Ultra HD 0x0000D4DC"
+set $portableScreen "GWD ARZOPA 000000000000"
+
+set $internalKeyboard "4012:2782:keyd_virtual_keyboard"
set $macKeyboard "1452:598:Apple_Wireless_Keyboard"
### Output configuration
@@ -51,12 +54,18 @@
{{ if eq .chezmoi.hostname "pixelbook" -}}
output $internalScreen {
mode 2400x1600@59.982Hz
- pos 0 0
+ pos 0 165
+ scale 1.75
}
output $auxScreen {
mode 1920x1080@60.000Hz
- pos 1200 -280
+ pos 1372 0
+}
+
+output $portableScreen {
+ mode 1920x1080@60.000Hz
+ pos -1920 0
}
workspace 1 output $internalScreen
@@ -366,7 +375,11 @@
[app_id="org.gnome.Calculator"] floating enable
[app_id="it.mijorus.smile"] floating enable
# See https://wiki.archlinux.org/index.php?title=Flameshot&oldid=813985#Flameshot_does_not_work_on_all_monitors_of_a_multi-monitor_setup_in_Sway
+{{ if eq .chezmoi.hostname "pixelbook" -}}
[app_id="flameshot"] border pixel 0, floating enable, fullscreen disable, move absolute position 0 0
+{{- else -}}
+ [app_id="flameshot"] border pixel 0, floating enable, fullscreen disable, move absolute position 0 0
+{{- end }}
[title=".* is sharing your screen"] move window to scratchpad
[app_id="chrome-pjibgclleladliembfgfagdaldikeohf-.*"] move window to workspace 10; workspace 10