refactor(hypr): separated exec-once to their corresponding apps
This commit is contained in:
@@ -1,6 +1,3 @@
|
|||||||
* add: similar to omarchy-menu
|
* vicinae should have a script that initializes systemctl if task does not exist.
|
||||||
* walker should have a script that initializes elephant if task does not exist.
|
|
||||||
* polkit security
|
|
||||||
* check out vigiland
|
|
||||||
* implement vicinae
|
|
||||||
* exec.conf should be on their own apps
|
* exec.conf should be on their own apps
|
||||||
|
* find a better polkit design
|
||||||
|
|||||||
@@ -4,6 +4,11 @@
|
|||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
exec-once = [
|
||||||
|
|
||||||
|
];
|
||||||
|
};
|
||||||
imports = [
|
imports = [
|
||||||
inputs.textfox.homeManagerModules.default
|
inputs.textfox.homeManagerModules.default
|
||||||
./textfox.nix
|
./textfox.nix
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
{ pkgs, ... }:
|
{pkgs, ...}: {
|
||||||
{
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
exec-once = [
|
||||||
|
"uwsm app -- hypridle"
|
||||||
|
];
|
||||||
|
};
|
||||||
services.hypridle = {
|
services.hypridle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -1,35 +1,32 @@
|
|||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
psmisc
|
psmisc
|
||||||
];
|
];
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
exec = [
|
exec = [
|
||||||
# "pkill -x hyprpaper; uwsm app -- hyprpaper"
|
# "pkill -x hyprpaper; uwsm app -- hyprpaper"
|
||||||
"killall -SIGUSR2 .ghostty-wrappe"
|
"matugen image ${config.home.homeDirectory}/.cache/current_wallpaper"
|
||||||
];
|
];
|
||||||
exec-once = [
|
exec-once = [
|
||||||
# essentials
|
# essentials
|
||||||
"hyprpm reload -n"
|
"hyprpm reload -n"
|
||||||
"vicinae server"
|
"vicinae server"
|
||||||
"systemctl --user start hyprpolkitagent"
|
"systemctl --user start hyprpolkitagent"
|
||||||
"uwsm app -- hypridle"
|
|
||||||
|
|
||||||
# apps
|
# apps
|
||||||
"fcitx5 -d --replace"
|
"fcitx5 -d --replace"
|
||||||
|
|
||||||
"[workspace special:preload silent] uwsm app -- firefox"
|
"[workspace special:preload silent] sleep 4; uwsm app -- firefox"
|
||||||
"[workspace special:preload silent] uwsm app -- firefox -P YouTube"
|
|
||||||
"[workspace special:preload silent] uwsm app -- xdg-terminal-exec"
|
"[workspace special:preload silent] uwsm app -- xdg-terminal-exec"
|
||||||
|
|
||||||
"uwsm app -- waybar"
|
|
||||||
"uwsm app -- hyprpaper"
|
|
||||||
"uwsm app -- elephant"
|
|
||||||
"uwsm app -- swayosd-server"
|
"uwsm app -- swayosd-server"
|
||||||
"uwsm app -- pywalfox start"
|
"uwsm app -- pywalfox start"
|
||||||
|
|
||||||
"walker --gapplication-service"
|
# "sh -c 'sleep 3; hakase-workspace-switch-force 1'"
|
||||||
|
|
||||||
"sh -c 'sleep 3; hakase-workspace-switch-force 1'"
|
|
||||||
|
|
||||||
"[workspace 1] uwsm app -- ghostty -e bash -c 'fastfetch; exec $SHELL'"
|
"[workspace 1] uwsm app -- ghostty -e bash -c 'fastfetch; exec $SHELL'"
|
||||||
"[workspace special:steam silent] uwsm app -- steam"
|
"[workspace special:steam silent] uwsm app -- steam"
|
||||||
|
|||||||
@@ -54,6 +54,12 @@
|
|||||||
exec matugen image "$CACHE_FILE"
|
exec matugen image "$CACHE_FILE"
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
exec-once = [
|
||||||
|
"uwsm app -- hyprpaper"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
services.hyprpaper = {
|
services.hyprpaper = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
@@ -82,3 +88,4 @@ in {
|
|||||||
|
|
||||||
systemd.user.startServices = "sd-switch";
|
systemd.user.startServices = "sd-switch";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,12 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
exec-once = [
|
||||||
|
"uwsm app -- elephant"
|
||||||
|
"walker --gapplication-service"
|
||||||
|
];
|
||||||
|
};
|
||||||
imports = [
|
imports = [
|
||||||
# ./style.nix
|
# ./style.nix
|
||||||
./layout.nix
|
./layout.nix
|
||||||
|
|||||||
@@ -136,6 +136,11 @@
|
|||||||
exec hakase-launch-popup 800 300 wiremix
|
exec hakase-launch-popup 800 300 wiremix
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
exec-once = [
|
||||||
|
"uwsm app -- waybar"
|
||||||
|
];
|
||||||
|
};
|
||||||
imports = [
|
imports = [
|
||||||
./style.nix
|
./style.nix
|
||||||
];
|
];
|
||||||
@@ -329,4 +334,3 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user