Compare commits

..

No commits in common. "d5ece48cbd4d5064b9a86c1bf5d145e61deb3d4a" and "cc0b41031a437b1607267ac04d7c510943166778" have entirely different histories.

2 changed files with 5 additions and 9 deletions

View File

@ -288,7 +288,7 @@ in with lib; {
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure"; Restart = "on-failure";
}; };
Install = { WantedBy = [ "hyprland-session.target" ]; }; Install = { WantedBy = [ "graphical-session.target" ]; };
}; };
# Setup swayosd as a service # Setup swayosd as a service
systemd.user.services.swayosd = { systemd.user.services.swayosd = {
@ -301,7 +301,7 @@ in with lib; {
ExecStart = "${pkgs.swayosd}/bin/swayosd"; ExecStart = "${pkgs.swayosd}/bin/swayosd";
Restart = "on-failure"; Restart = "on-failure";
}; };
Install = { WantedBy = [ "hyprland-session.target" ]; }; Install = { WantedBy = [ "graphical-session.target" ]; };
}; };
# Shortcut dispatcher # Shortcut dispatcher
xdg.configFile."shortcuts/shortcuts.toml" = { xdg.configFile."shortcuts/shortcuts.toml" = {
@ -326,7 +326,7 @@ in with lib; {
ExecStart = "${inputs.self.packages.${pkgs.system}.pyprland}/bin/pypr"; ExecStart = "${inputs.self.packages.${pkgs.system}.pyprland}/bin/pypr";
Restart = "on-failure"; Restart = "on-failure";
}; };
Install = { WantedBy = [ "hyprland-session.target" ]; }; Install = { WantedBy = [ "graphical-session.target" ]; };
}; };
# And its config file # And its config file
xdg.configFile."hypr/pyprland.json" = let xdg.configFile."hypr/pyprland.json" = let
@ -383,7 +383,7 @@ in with lib; {
ExecStart = "${notif-package}/bin/swaync"; ExecStart = "${notif-package}/bin/swaync";
Restart = "on-failure"; Restart = "on-failure";
}; };
Install = { WantedBy = [ "hyprland-session.target" ]; }; Install = { WantedBy = [ "graphical-session.target" ]; };
}; };
######################### #########################
## Swayidle ## Swayidle
@ -869,7 +869,7 @@ in with lib; {
KillMode = "mixed"; KillMode = "mixed";
}; };
Install = { WantedBy = [ "hyprland-session-pre.target" ]; }; Install = { WantedBy = [ "graphical-session-pre.target" ]; };
}; };
######################### #########################
## EasyEffects ## EasyEffects

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
session=`loginctl session-status | head -n 1 | awk '{print $1}'`
loginctl terminate-session $session