refactor(hyprland): decentralize exec-once and clean up app configs

This commit is contained in:
kenji
2026-01-05 12:38:12 -06:00
parent c640e5514e
commit daa3ed6eef
6 changed files with 14 additions and 9 deletions
-1
View File
@@ -43,7 +43,6 @@
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin
bitwarden
tridactyl
];
bookmarks = {
+5
View File
@@ -61,4 +61,9 @@
window-padding-balance = true;
};
};
wayland.windowManager.hyprland.settings.exec-once = [
"[workspace special:preload silent] uwsm app -- xdg-terminal-exec"
"[workspace 1] uwsm app -- ghostty -e bash -c 'fastfetch; exec $SHELL'" # TODO: must be xdg-terminal-exec, or default user terminal
];
}
-8
View File
@@ -14,16 +14,8 @@
exec-once = [
# essentials
"hyprpm reload -n"
"vicinae server"
"systemctl --user start hyprpolkitagent"
"hyprsunset -t 4500" # TODO: must be optional
# apps
"fcitx5 -d --replace" # TODO: find a way to implement this line on fcitx5 app instead
"[workspace special:preload silent] uwsm app -- xdg-terminal-exec"
"[workspace 1] uwsm app -- ghostty -e bash -c 'fastfetch; exec $SHELL'" # TODO: must be xdg-terminal-exec, or default user terminal
"[workspace special:steam silent] uwsm app -- steam"
];
};
}
+4
View File
@@ -41,4 +41,8 @@
# Ensure vicinae themes directory exists for matugen output
home.file.".local/share/vicinae/themes/.keep".text = "";
wayland.windowManager.hyprland.settings.exec-once = [
"vicinae server"
];
}
+4
View File
@@ -16,4 +16,8 @@
vram = true;
};
};
wayland.windowManager.hyprland.settings.exec-once = [
"[workspace special:steam silent] uwsm app -- steam"
];
}
+1
View File
@@ -10,5 +10,6 @@
../../apps/tte
../../apps/swayosd
../../apps/playerctl
../../apps/fcitx5
];
}