Trying to fix ulauncher service
This commit is contained in:
parent
1796e501af
commit
4779cabdc5
1 changed files with 2 additions and 4 deletions
|
|
@ -149,10 +149,9 @@
|
||||||
|
|
||||||
systemd.user.services.ulauncher = {
|
systemd.user.services.ulauncher = {
|
||||||
Unit = {
|
Unit = {
|
||||||
"Description" = "Ulauncher Application Launcher";
|
Description = "Ulauncher Application Launcher";
|
||||||
"PartOf" = [ "graphical-session.target" ];
|
After = [ "graphical-session.target" ];
|
||||||
};
|
};
|
||||||
Install.WantedBy = [ "graphical-session.target" ];
|
|
||||||
Service = {
|
Service = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
Environment =
|
Environment =
|
||||||
|
|
@ -174,7 +173,6 @@
|
||||||
ExecStart = pkgs.writeShellScript "ulauncher-env-wrapper.sh" ''
|
ExecStart = pkgs.writeShellScript "ulauncher-env-wrapper.sh" ''
|
||||||
export PATH="''${XDG_BIN_HOME}:$HOME/.nix-profile/bin:/etc/profiles/per-user/$USER/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin"
|
export PATH="''${XDG_BIN_HOME}:$HOME/.nix-profile/bin:/etc/profiles/per-user/$USER/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin"
|
||||||
export GDK_BACKEND=wayland
|
export GDK_BACKEND=wayland
|
||||||
sleep 3
|
|
||||||
exec ${pkgs.ulauncher}/bin/ulauncher --hide-window
|
exec ${pkgs.ulauncher}/bin/ulauncher --hide-window
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue