Files
nixos/apps/hyprland/hypr/exec.nix
T

36 lines
875 B
Nix

{
pkgs,
config,
...
}: {
home.packages = with pkgs; [
psmisc
];
wayland.windowManager.hyprland.settings = {
exec = [
# "pkill -x hyprpaper; uwsm app -- hyprpaper"
"matugen image ${config.home.homeDirectory}/.cache/current_wallpaper"
];
exec-once = [
# essentials
"hyprpm reload -n"
"vicinae server"
"systemctl --user start hyprpolkitagent"
# apps
"fcitx5 -d --replace"
"[workspace special:preload silent] sleep 4; uwsm app -- firefox"
"[workspace special:preload silent] uwsm app -- xdg-terminal-exec"
"uwsm app -- swayosd-server"
"uwsm app -- pywalfox start"
# "sh -c 'sleep 3; hakase-workspace-switch-force 1'"
"[workspace 1] uwsm app -- ghostty -e bash -c 'fastfetch; exec $SHELL'"
"[workspace special:steam silent] uwsm app -- steam"
];
};
}