Files
garandos/modules/home/hyprland/exec-once.nix
GarandPLG 8ccb9205bf Add Noctalia shell with Quickshell overview
- Add `noctalia` input to flake and lock it in `flake.lock`.
- Include `noctalia` and `quickshell` modules in `flake.nix`.
- Extend core packages to accept `inputs` and `system`; add
  `quickshell.nix`
  with required Qt6 packages and environment variables.
- Enable `upower` service for battery handling.
- Add home modules `noctalia.nix` and `overview.nix` (QML UI, README,
  assets, widgets, services) to provide a workspace overview.
- Comment out unused rofi and web‑search binds; update `exec‑once` to
  start
  the overview daemon and `noctalia-shell`.
- Provide `restart.noctalia` script and its Nix wrapper.
- Enable `noctalia-shell` in `stylix` configuration.
2026-02-02 01:57:56 +01:00

29 lines
928 B
Nix

{host, ...}: let
inherit
(import ../../../hosts/${host}/variables.nix)
stylixImage
;
in {
wayland.windowManager.hyprland.settings.exec-once = [
"wl-paste --type text --watch cliphist store" # Saves text
"wl-paste --type image --watch cliphist store" # Saves images
"dbus-update-activation-environment --all --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"systemctl --user start hyprpolkitagent"
"qs -c overview" # Start quickshell-overview daemon
# "killall -q swww;sleep .5 && swww-daemon"
# "killall -q waybar;sleep .5 && waybar"
# "killall -q swaync;sleep .5 && swaync"
# "#wallsetter &"
# "pypr &"
# "nm-applet --indicator"
# "sleep 1.0 && swww img ${stylixImage}"
"killall -q waybar"
"pkill waybar"
"killall -q swaync"
"pkill swaync"
"noctalia-shell &"
];
}