enable headless screen for sharing

This commit is contained in:
Henrik Bakken
2025-11-17 14:03:02 +01:00
parent 944cfda071
commit 545444c44b
4 changed files with 23 additions and 3 deletions
+10 -2
View File
@@ -378,9 +378,17 @@ def install_sway(overwrite: bool, reinstall: bool) -> None:
run("sudo systemctl enable --now bluetooth".split())
# div app configs
run("systemctl --user enable --now flashfocus".split())
if (tgt := CFG_TGT / "waybar/config").exists(): # name has precedence over config.jsonc
if (tgt := CFG_TGT / "waybar/config").exists(): # precedence over config.jsonc
tgt.unlink()
for sub in ["sway", "waybar", "gtk-3.0", "mako", "fuzzel", "nwg-drawer"]:
for sub in [
"sway",
"waybar",
"gtk-3.0",
"mako",
"fuzzel",
"nwg-drawer",
"xdg-desktop-portal-wlr",
]:
helper_clone_foldercontents(CFG_SRC, CFG_TGT, sub, overwrite)
# custom sway configs
helper_clone_foldercontents(CUSTOM_SRC / "CONFIG", CFG_TGT, "sway", overwrite)