{ config, pkgs, ... }: # TODO: # - make shortcuts for hyprctl commands # - split into multiple files # - configure comands like hyprpaper, waybar, etc. { home.packages = with pkgs; [ hyprland # already in nixos modules, but here for hyprctl brightnessctl ]; programs.hyprpanel = { enable = true; systemd.enable = true; }; programs.fuzzel.enable = true; wayland.windowManager.hyprland.settings = { exec-once = [ # Fixes cursor themes in gnome apps under hyprland "gsettings set org.gnome.desktop.interface cursor-theme '${config.home.pointerCursor.name}'" "gsettings set org.gnome.desktop.interface cursor-size ${ toString config.home.pointerCursor.size }" ]; }; wayland.windowManager.hyprland = { enable = true; settings = { exec = "hyprctl dispatch submap global"; submap = "global"; debug = { disable_logs = false; }; }; }; imports = [ ./hyprland/env.nix ./hyprland/execs.nix ./hyprland/general.nix ./hyprland/rules.nix ./hyprland/colors.nix ./hyprland/keybinds.nix # done ./hyprland/active.nix ./hyprlock.nix # done ./hypridle.nix # done ]; }