From c3a0f09a412917b608ebb89d1c248ac0cb8ed14a Mon Sep 17 00:00:00 2001 From: atagen Date: Sat, 18 Mar 2023 01:03:03 +1100 Subject: [PATCH] hyprland s76 hook reinstalled --- home/bolt.nix | 20 +++++++++++++++++--- home/home.nix | 8 ++++---- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/home/bolt.nix b/home/bolt.nix index 7e00b27..0cf0136 100755 --- a/home/bolt.nix +++ b/home/bolt.nix @@ -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''; + }; + }; + } diff --git a/home/home.nix b/home/home.nix index f5b805f..dc5874d 100755 --- a/home/home.nix +++ b/home/home.nix @@ -32,7 +32,7 @@ in thunderbird clementine - # inkscape + inkscape btop bat @@ -121,7 +121,7 @@ in gtk = { enable = true; theme = { - package = (pkgs.callPackage ./homepkgs/simplewaita-gtk.nix {}); + package = pkgs.callPackage ./homepkgs/simplewaita-gtk.nix {}; name = "simplewaita"; }; }; @@ -389,8 +389,8 @@ fresh programs.helix.settings = { theme = "bogster"; editor.lsp.display-messages = true; - editor.auto-pairs = false; - editor.indent-guides.render = true; + # editor.auto-pairs = false; + # editor.indent-guides.render = true; }; home.sessionVariables = {