Better graphical start

This commit is contained in:
2026-09-11 14:28:11 +02:00
parent b7cfc63310
commit 07b7e2bb05
13 changed files with 152 additions and 99 deletions
@@ -20,6 +20,8 @@ let
in {
config = lib.mkIf (config.usercfg.wm == "Wayland") {
systemd.user.services.kanshi.Unit.After = lib.mkForce [ config.services.kanshi.systemdTarget "awww.service" ];
services.kanshi = {
enable = true;
systemdTarget = "graphical-session.target";
+2 -10
View File
@@ -24,23 +24,15 @@
startupScript = pkgs.writeShellScriptBin "hyprland-start" ''
# The eww bar is not started here: eww.service opens it with the
# graphical session and kanshi places it per profile (see apps/eww).
${pkgs.awww}/bin/awww-daemon &
${pkgs.awww}/bin/awww restore &
sleep 2
keepassxc &
firefox &
easyeffects --gapplication-service &
sleep 2
nextcloud &
# telegram-desktop &
# discord &
'';
in {
config = lib.mkIf (config.usercfg.wm == "Wayland") {
services.awww.enable = true;
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;