hyprland s76 hook reinstalled

This commit is contained in:
atagen 2023-03-18 01:03:03 +11:00
parent 7ddaa0c2a9
commit c3a0f09a41
2 changed files with 21 additions and 7 deletions

View file

@ -14,6 +14,7 @@ in {
nixpkgs.overlays = [
(self: super: {
kwin-system76-scheduler-integration = pkgs.libsForQt5.callPackage ../system/syspkgs/kwin-system76-scheduler-integration.nix {};
hyprland-s76 = (pkgs.callPackage ../system/syspkgs/hyprland-system76-scheduler-integration.nix {});
})
];
@ -62,8 +63,7 @@ in {
systemdIntegration = true;
nvidiaPatches = true;
extraConfig = ''
bind = SUPER, Return, exec, kitty
exec-once = waybar
exec-once = waybar
exec-once = keepassxc
exec-once = mako
exec-once = ckb-next -c -b
@ -112,6 +112,7 @@ in {
monitor=,highrr,auto,1
bind=SUPER,Return,exec,kitty
bind=SUPER,E,exec,kitty,joshuto
bind=SUPER,F,exec,firefox
bind=SUPER,D,exec,fuzzel
@ -162,7 +163,7 @@ in {
};
programs.mako = {
services.mako = {
enable = true;
anchor = "bottom-right";
borderRadius = 8;
@ -187,4 +188,17 @@ in {
};
};
systemd.user.services."hyprland-system76" = {
Unit = {
Description = "the hyprland process scheduler hook";
Requires = [ "dbus.service" ];
};
Install = {
WantedBy = [ "graphical-session.target" "default.target" ];
};
Service = {
ExecStart = ''${pkgs.hyprland-s76}/bin/hyprland-system76-scheduler-hook.sh'';
};
};
}