diff --git a/apps/firefox/default.nix b/apps/firefox/default.nix index 438d59f..adcb24e 100644 --- a/apps/firefox/default.nix +++ b/apps/firefox/default.nix @@ -43,7 +43,6 @@ extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [ ublock-origin bitwarden - tridactyl ]; bookmarks = { diff --git a/apps/ghostty/default.nix b/apps/ghostty/default.nix index dce2b37..fa52e2c 100644 --- a/apps/ghostty/default.nix +++ b/apps/ghostty/default.nix @@ -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 + ]; } diff --git a/apps/hyprland/hypr/exec.nix b/apps/hyprland/hypr/exec.nix index 09a1e27..a8418ad 100644 --- a/apps/hyprland/hypr/exec.nix +++ b/apps/hyprland/hypr/exec.nix @@ -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" ]; }; } diff --git a/apps/vicinae/default.nix b/apps/vicinae/default.nix index eef80bf..7d7df72 100644 --- a/apps/vicinae/default.nix +++ b/apps/vicinae/default.nix @@ -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" + ]; } diff --git a/modules/home/gaming.nix b/modules/home/gaming.nix index 90c55d9..1512a92 100644 --- a/modules/home/gaming.nix +++ b/modules/home/gaming.nix @@ -16,4 +16,8 @@ vram = true; }; }; + + wayland.windowManager.hyprland.settings.exec-once = [ + "[workspace special:steam silent] uwsm app -- steam" + ]; } diff --git a/modules/home/hyprland.nix b/modules/home/hyprland.nix index 6a1831b..8c56547 100644 --- a/modules/home/hyprland.nix +++ b/modules/home/hyprland.nix @@ -10,5 +10,6 @@ ../../apps/tte ../../apps/swayosd ../../apps/playerctl + ../../apps/fcitx5 ]; }