refactor(hyprland): decentralize exec-once and clean up app configs
This commit is contained in:
@@ -43,7 +43,6 @@
|
|||||||
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
|
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
ublock-origin
|
ublock-origin
|
||||||
bitwarden
|
bitwarden
|
||||||
tridactyl
|
|
||||||
];
|
];
|
||||||
|
|
||||||
bookmarks = {
|
bookmarks = {
|
||||||
|
|||||||
@@ -61,4 +61,9 @@
|
|||||||
window-padding-balance = true;
|
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
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,16 +14,8 @@
|
|||||||
exec-once = [
|
exec-once = [
|
||||||
# essentials
|
# essentials
|
||||||
"hyprpm reload -n"
|
"hyprpm reload -n"
|
||||||
"vicinae server"
|
|
||||||
"systemctl --user start hyprpolkitagent"
|
"systemctl --user start hyprpolkitagent"
|
||||||
"hyprsunset -t 4500" # TODO: must be optional
|
"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"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,4 +41,8 @@
|
|||||||
|
|
||||||
# Ensure vicinae themes directory exists for matugen output
|
# Ensure vicinae themes directory exists for matugen output
|
||||||
home.file.".local/share/vicinae/themes/.keep".text = "";
|
home.file.".local/share/vicinae/themes/.keep".text = "";
|
||||||
|
|
||||||
|
wayland.windowManager.hyprland.settings.exec-once = [
|
||||||
|
"vicinae server"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,4 +16,8 @@
|
|||||||
vram = true;
|
vram = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wayland.windowManager.hyprland.settings.exec-once = [
|
||||||
|
"[workspace special:steam silent] uwsm app -- steam"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,5 +10,6 @@
|
|||||||
../../apps/tte
|
../../apps/tte
|
||||||
../../apps/swayosd
|
../../apps/swayosd
|
||||||
../../apps/playerctl
|
../../apps/playerctl
|
||||||
|
../../apps/fcitx5
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user