nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

commit d64c35089506ba42e139e5af0ffa4a6a031a63ee
parent 0ec5ac276169b045ad4aefed30ad8e8d1038395c
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Thu,  2 Jul 2026 14:50:22 +0100

Finish hyprland lua migrations

Diffstat:
Mhome/clipse.nix | 19+++++--------------
Mhome/kodi.nix | 9++++-----
2 files changed, 9 insertions(+), 19 deletions(-)

diff --git a/home/clipse.nix b/home/clipse.nix @@ -1,19 +1,10 @@ { lib, ... }: { - services.clipse = { - enable = true; - }; + services.clipse.enable = true; -# wayland.windowManager.hyprland.settings = { -# bind = [ -# "SUPER, V, exec, alacritty --class clipse -e 'clipse'" -# ]; -# -# windowrule = [ -# "match:class ^(clipse)$, float 1" -# "match:class ^(clipse)$, size 622 652" -# ]; -# -# }; + wayland.windowManager.hyprland.extraConfig = '' + hl.bind("SUPER + V", hl.dsp.exec_cmd("alacritty --class clipse -e 'clipse'")) + hl.window_rule({name="clipse-float",match={class="^(clipse)$"},float=true,size={622,652}}) + ''; } diff --git a/home/kodi.nix b/home/kodi.nix @@ -58,9 +58,8 @@ }; }; # Launch Kodi via Hyprland -# wayland.windowManager.hyprland = { -# settings = { -# "exec-once" = "${pkgs.kodi-wayland}/bin/kodi-standalone -fullscreen"; -# }; -# }; + wayland.windowManager.hyprland.extraConfig = '' + hl.on("hyprland.start",function()hl.exec_cmd("${pkgs.kodi-wayland}/bin/kodi-standalone -fullscreen")end) + ''; + }