No ulauncher for now, maybe when I finally switch to hyprland
This commit is contained in:
parent
4779cabdc5
commit
ce0be14dbb
1 changed files with 33 additions and 33 deletions
|
|
@ -111,9 +111,9 @@
|
||||||
(lib.mkIf hostType.isWorkstation {
|
(lib.mkIf hostType.isWorkstation {
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
# home.packages = with pkgs; [
|
||||||
ulauncher
|
# ulauncher
|
||||||
];
|
# ];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
password-store.package = pkgs.pass-wayland;
|
password-store.package = pkgs.pass-wayland;
|
||||||
|
|
@ -147,36 +147,36 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services.ulauncher = {
|
# systemd.user.services.ulauncher = {
|
||||||
Unit = {
|
# Unit = {
|
||||||
Description = "Ulauncher Application Launcher";
|
# Description = "Ulauncher Application Launcher";
|
||||||
After = [ "graphical-session.target" ];
|
# After = [ "graphical-session.target" ];
|
||||||
};
|
# };
|
||||||
Service = {
|
# Service = {
|
||||||
Type = "simple";
|
# Type = "simple";
|
||||||
Environment =
|
# Environment =
|
||||||
let
|
# let
|
||||||
pydeps = pkgs.python3.withPackages (
|
# pydeps = pkgs.python3.withPackages (
|
||||||
pp: with pp; [
|
# pp: with pp; [
|
||||||
# dependencies for ulauncher-albert-calculate-anything
|
# # dependencies for ulauncher-albert-calculate-anything
|
||||||
parsedatetime
|
# parsedatetime
|
||||||
pint
|
# pint
|
||||||
pytz
|
# pytz
|
||||||
requests
|
# requests
|
||||||
simpleeval
|
# simpleeval
|
||||||
]
|
# ]
|
||||||
);
|
# );
|
||||||
in
|
# in
|
||||||
[
|
# [
|
||||||
"PYTHONPATH=${pydeps}/${pydeps.sitePackages}"
|
# "PYTHONPATH=${pydeps}/${pydeps.sitePackages}"
|
||||||
];
|
# ];
|
||||||
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
|
||||||
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