{ pkgs, inputs, lib, ... }: { services.hyprpolkitagent.enable = false; programs.hyprshot.enable = true; programs.hyprlock.enable = true; wayland.windowManager.hyprland.configType = "hyprlang"; wayland.windowManager.hyprland.extraConfig = '' source = ./dms/colors.conf ''; wayland.windowManager.hyprland = { enable = true; package = null; portalPackage = null; settings = { # Variables "$terminal" = "kitty -e nu"; "$fileManager" = "kitty -e yazi"; "$mainMod" = "SUPER"; # Monitors /*monitor = [ "HDMI-A-1, 3840x2160@120, 0x0, auto, bitdepth, 10, cm, hdr, sdrsaturation, 1, sdrbrightness, 1.2, min_luminance = 0, max_luminance, 1200, max_avg_luminance, 200" "eDP-1, 2560x1600@60, 0x0, 1.6" "DP-1, highres@highrr, 0x0, 1" ];*/ monitorv2 = [ { output = "HDMI-A-1"; mode = "3840x2160@144"; position = "0x0"; scale = 1; bitdepth = 10; cm = "hdr"; sdrbrightness = 1; sdrsaturation = 1; sdr_min_luminance = 0.005; min_luminance = 0; max_luminance = 1300; max_avg_luminance = 400; sdr_max_luminance = 200; supports_hdr = 1; supports_wide_color = 1; } { output = "eDP-1"; mode = "2560x1600@60"; position = "0x0"; scale = 1.6; } ]; # Startup applications exec-once = [ "dms run" "hyprctl dispatch workspace 1" "pw-metadata -n settings 0 clock.force-quantum 2048" "sunshine" "" ]; # Debug settings debug.full_cm_proto = true; # Environment variables env = [ "XCURSOR_SIZE,24" "QT_QPA_PLATFORMTHEME,qt6ct" ]; input = { kb_layout = "us"; kb_variant = ""; kb_model = ""; kb_options = ""; kb_rules = ""; accel_profile = "flat"; follow_mouse = 1; touchpad = { natural_scroll = true; tap-to-click = false; drag_3fg = true; clickfinger_behavior = true; tap-and-drag = false; }; sensitivity = 0; }; general = { gaps_in = 5; gaps_out = 5; border_size = 2; layout = "dwindle"; allow_tearing = true; }; decoration = { rounding = 5; blur = { enabled = true; size = 5; passes = 3; new_optimizations = true; ignore_opacity = true; xray = false; }; shadow = { enabled = true; offset = "3, 3"; }; }; animations = { enabled = true; bezier = [ "myBezier, 0.05, 0.9, 0.1, 1.05" ]; animation = [ "windows, 1, 7, myBezier" "windowsOut, 1, 7, default, popin 80%" "border, 1, 10, default" "borderangle, 1, 8, default" "fade, 1, 7, default" "workspaces, 1, 6, default" ]; }; dwindle = { preserve_split = true; }; misc = { force_default_wallpaper = 0; enable_anr_dialog = 0; vrr = 2; }; bind = [ "$mainMod, Return, exec, $terminal" "$mainMod, Q, killactive" "$mainMod, M, exec, dms ipc call lock lock" "$mainMod, E, exec, $fileManager" "$mainMod, Y, exec, dms ipc call dankdash wallpaper" "$mainMod, TAB, exec, dms ipc call hypr toggleOverview" "$mainMod, C, exec, dms ipc call clipboard toggle" "$mainMod, comma, exec, dms ipc call settings focusOrToggle" "$mainMod, V, togglefloating" "$mainMod, B, exec, zen" "$mainMod, P, pseudo" "$mainMod, space, exec, dms ipc call spotlight toggle" # "$mainMod, J, togglesplit" "$mainMod, F, fullscreen" ", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+" ", XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-" ", XF86AudioMute, exec, dms ipc call audio mute" ", XF86MonBrightnessUp, exec, dms ipc call brightness increment 5" ", XF86MonBrightnessDown, exec, dms ipc call brightness decrement 5" "$mainMod, left, movefocus, l" "$mainMod, right, movefocus, r" "$mainMod, up, movefocus, u" "$mainMod, down, movefocus, d" "$mainMod, 1, workspace, 1" "$mainMod, 2, workspace, 2" "$mainMod, 3, workspace, 3" "$mainMod, 4, workspace, 4" "$mainMod, 5, workspace, 5" "$mainMod, 6, workspace, 6" "$mainMod, 7, workspace, 7" "$mainMod, 8, workspace, 8" "$mainMod, 9, workspace, 9" "$mainMod, 0, workspace, 10" "$mainMod SHIFT, 1, movetoworkspace, 1" "$mainMod SHIFT, 2, movetoworkspace, 2" "$mainMod SHIFT, 3, movetoworkspace, 3" "$mainMod SHIFT, 4, movetoworkspace, 4" "$mainMod SHIFT, 5, movetoworkspace, 5" "$mainMod SHIFT, 6, movetoworkspace, 6" "$mainMod SHIFT, 7, movetoworkspace, 7" "$mainMod SHIFT, 8, movetoworkspace, 8" "$mainMod SHIFT, 9, movetoworkspace, 9" "$mainMod SHIFT, 0, movetoworkspace, 10" "$mainMod, S, togglespecialworkspace, magic" "$mainMod SHIFT, S, movetoworkspace, special:magic" "$mainMod, mouse_down, workspace, e+1" "$mainMod, mouse_up, workspace, e-1" ]; bindm = [ "$mainMod, mouse:272, movewindow" "$mainMod, mouse:273, resizewindow" ]; }; }; }