Disable systemd services for waybar and hyprpaper
Start with Hyprland instead
This commit is contained in:
parent
7eacc47e17
commit
1bd6c8af57
|
@ -69,19 +69,6 @@
|
||||||
name = "Catppuccin-${catppuccinVariant}-${size}-${accent}-Dark";
|
name = "Catppuccin-${catppuccinVariant}-${size}-${accent}-Dark";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.user.services.hyprpaper = {
|
|
||||||
Unit = {
|
|
||||||
Description = "Hyprland wallpaper utility";
|
|
||||||
Wants = ["hyprland-session.target"];
|
|
||||||
After = ["hyprland-session.target"];
|
|
||||||
};
|
|
||||||
Service = {
|
|
||||||
Environment = ["PATH=/run/current-system/sw/bin/:$PATH"];
|
|
||||||
Restart = "always";
|
|
||||||
ExecStart = "${pkgs.hyprpaper}/bin/hyprpaper";
|
|
||||||
};
|
|
||||||
Install.WantedBy = ["default.target"];
|
|
||||||
};
|
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
|
@ -103,10 +90,13 @@
|
||||||
"GRIM_DEFAULT_DIR=${xdg.userDirs.pictures}/Grim"
|
"GRIM_DEFAULT_DIR=${xdg.userDirs.pictures}/Grim"
|
||||||
];
|
];
|
||||||
exec-once = with config; [
|
exec-once = with config; [
|
||||||
|
"systemctl --user import-environment WAYLAND_DISPLAY QT_QPA_PLATFORMTHEME"
|
||||||
"${wayland.windowManager.hyprland.finalPackage}/bin/hyprctl setcursor ${stylix.cursor.name} ${toString stylix.cursor.name}"
|
"${wayland.windowManager.hyprland.finalPackage}/bin/hyprctl setcursor ${stylix.cursor.name} ${toString stylix.cursor.name}"
|
||||||
"${pkgs.swaynotificationcenter}/bin/swaync"
|
"${pkgs.swaynotificationcenter}/bin/swaync"
|
||||||
"${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1"
|
"${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1"
|
||||||
"${pkgs.protonmail-bridge}/bin/protonmail-bridge -n"
|
"${pkgs.protonmail-bridge}/bin/protonmail-bridge -n"
|
||||||
|
"${pkgs.waybar}/bin/waybar"
|
||||||
|
"${pkgs.hyprpaper}/bin/hyprpaper"
|
||||||
];
|
];
|
||||||
gestures.workspace_swipe = true;
|
gestures.workspace_swipe = true;
|
||||||
input = {
|
input = {
|
||||||
|
@ -368,10 +358,6 @@
|
||||||
"SUPER, mouse:273, resizewindow"
|
"SUPER, mouse:273, resizewindow"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
|
||||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY QT_QPA_PLATFORMTHEME
|
|
||||||
exec-once = systemctl --user restart "xdg-desktop-portal*" foot waybar hyprpaper
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
"hypr/hyprpaper.conf".text = ''
|
"hypr/hyprpaper.conf".text = ''
|
||||||
|
|
|
@ -10,10 +10,6 @@
|
||||||
};
|
};
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
systemd = {
|
|
||||||
enable = true;
|
|
||||||
target = "hyprland-session.target";
|
|
||||||
};
|
|
||||||
settings.main = {
|
settings.main = {
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
|
|
Loading…
Reference in a new issue