{ pkgs, lib, ... }: { monitor = [ ",preferred,auto,auto" "eDP-1,3840x2160@59.99900,auto,1.5" ]; "$terminal" = "kitty"; "$menu" = "wofi --show run"; exec-once = [ "wpaperd" ]; env = [ # "XCURSOR_SIZE,12" "NIXOS_OZONE_WL,1" "QT_QPA_PLATFORM,wayland" "GDK_BACKEND,wayland" "GDK_SCALE,0.66" "QT_AUTO_SCREEN_SCALE_FACTOR,1" ]; xwayland.force_zero_scaling = true; general = { gaps_in = 3; gaps_out = 9; "col.active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg"; "col.inactive_border" = "rgba(595959aa)"; resize_on_border = false; allow_tearing = false; layout = "dwindle"; }; decoration = { rounding = 5; active_opacity = 1.0; inactive_opacity = 1.0; drop_shadow = false; shadow_range = 4; shadow_render_power = 3; "col.shadow" = "rgba(1a1a1aee)"; blur = { enabled = true; size = 3; passes = 1; vibrancy = 0.1696; special = true; popups = true; }; }; animations = { enabled = true; bezier = "myBezier, 0.05, 0.9, 0.1, 1.05"; animation = [ "windows, 1, 3, default, popin 80%" "windowsMove, 0" # "windows, 1, 7, myBezier" # "windowsOut, 1, 7, myBezier, popin 80%" "border, 1, 10, default" "borderangle, 1, 8, default" "fade, 1, 3, default" "workspaces, 1, 3, default, fade" # "workspaces, 1, 6, default" ]; }; dwindle = { pseudotile = true; preserve_split = true; }; master = { new_status = "master"; }; misc = { force_default_wallpaper = -1; disable_hyprland_logo = false; }; input = { kb_layout = "us,us"; kb_variant = "dvp,"; kb_model = ""; kb_options = "compose:caps,grp:win_space_toggle"; kb_rules = ""; follow_mouse = 1; sensitivity = 0; touchpad = { natural_scroll = false; }; }; device = [ { name = "synaptics-tm3512-010"; sensitivity = 0.4; } { name = "tpps/2-elan-trackpoint"; sensitivity = 0.2; } ]; gestures = { workspace_swipe = false; }; dwindle = { # no_gaps_when_only = 1; }; "$mainMod" = "SUPER"; bind = [ "$mainMod, return, exec, $terminal" "$mainMod, Q, killactive" "$mainMod, M, exit" "$mainMod, V, togglefloating" "$mainMod, D, exec, $menu" "$mainMod, P, pseudo," "$mainMod, J, togglesplit," # "$mainMod SHIFT, L, exec, loginctl lock-session" "$mainMod SHIFT, L, exec, gtklock -d" "$mainMod SHIFT, S, exec, systemctl suspend" "$mainMod, left, movefocus, l" "$mainMod, right, movefocus, r" "$mainMod, up, movefocus, u" "$mainMod, down, movefocus, d" "$mainMod SHIFT, left, swapwindow, l" "$mainMod SHIFT, right, swapwindow, r" "$mainMod SHIFT, up, swapwindow, u" "$mainMod SHIFT, down, swapwindow, d" "$mainMod, T, cyclenext" "$mainMod, G, focusmonitor, 0" "$mainMod, C, focusmonitor, 1" "$mainMod, R, focusmonitor, 2" "$mainMod, L, focusmonitor, 3" "$mainMod CTRL, G, movecurrentworkspacetomonitor, 0" "$mainMod CTRL, C, movecurrentworkspacetomonitor, 1" "$mainMod CTRL, R, movecurrentworkspacetomonitor, 2" "$mainMod CTRL, L, movecurrentworkspacetomonitor, 3" "$mainMod, F, fullscreen, 1" "$mainMod SHIFT, F, fullscreen, 0" "$mainMod, code:14, workspace, 1" "$mainMod, code:17, workspace, 2" "$mainMod, code:13, workspace, 3" "$mainMod, code:18, workspace, 4" "$mainMod, code:12, workspace, 5" "$mainMod, code:19, workspace, 6" "$mainMod, code:11, workspace, 7" "$mainMod, code:20, workspace, 8" "$mainMod, code:15, workspace, 9" "$mainMod, code:16, workspace, 10" "$mainMod SHIFT, code:14, movetoworkspacesilent, 1" "$mainMod SHIFT, code:17, movetoworkspacesilent, 2" "$mainMod SHIFT, code:13, movetoworkspacesilent, 3" "$mainMod SHIFT, code:18, movetoworkspacesilent, 4" "$mainMod SHIFT, code:12, movetoworkspacesilent, 5" "$mainMod SHIFT, code:19, movetoworkspacesilent, 6" "$mainMod SHIFT, code:11, movetoworkspacesilent, 7" "$mainMod SHIFT, code:20, movetoworkspacesilent, 8" "$mainMod SHIFT, code:15, movetoworkspacesilent, 9" "$mainMod SHIFT, code:16, movetoworkspacesilent, 10" "CTRL, space, exec, dunstctl close" "CTRL SHIFT, space, exec, dunstctl close-all" "CTRL, period, exec, dunstctl context" "CTRL, comma, exec, dunstctl history-pop" "$mainMod ALT, E, exec, emacsclient -c" ", XF86MonBrightnessUp, exec, brightnessctl s +5%" ", XF86MonBrightnessDown, exec, brightnessctl s 5%-" ", XF86AudioRaiseVolume, exec, pamixer -i 2" ", XF86AudioLowerVolume, exec, pamixer -d 2" ", XF86AudioMute, exec, pamixer -t" ", Print, exec, ${pkgs.writeShellScript "screenshot" '' export PATH="${lib.makeBinPath (with pkgs; [ grim slurp wl-clipboard-rs coreutils ])}:$PATH" outFile="$HOME/screenshots/$(date +"%Y-%m-%dT%H:%M:%S").png" grim -g "$(slurp -b 00000080 -c FFFFFFFF -s 00000000 -w 1)" "$outFile" wl-copy --type image/png <"$outFile" ''}" "$mainMod CTRL, return, togglespecialworkspace, term" "$mainMod CTRL, e, togglespecialworkspace, edit" "$mainMod CTRL, a, togglespecialworkspace, pavucontrol" "$mainMod CTRL, o, togglespecialworkspace, easyeffects" "$mainMod CTRL, b, togglespecialworkspace, blueman" "$mainMod CTRL, p, togglespecialworkspace, keepass" ]; bindm = [ "$mainMod, mouse:272, movewindow" "$mainMod, mouse:273, resizewindow" ]; windowrulev2 = [ "suppressevent maximize, class:.*" # "maximize, class:^(Element|thunderbird)$" "workspace special:keepass, class:^org\.keepassxc\.KeePassXC$" # "group set always lock invade, class:^Element$" "workspace 4, class:^evince$" "workspace 10, class:^mpv$" "float, class:^org\.keepassxc\.KeePassXC$, title:^KeePassXC - Access Request$" "center, class:^org\.keepassxc\.KeePassXC$, title:^KeePassXC - Access Request$" "bordercolor rgba(ffee33ee) rgba(ff9500ee) 45deg, fullscreen:1" ]; workspace = [ "s[true], gapsout:200" "special:term, on-created-empty:kitty" "special:edit, on-created-empty:emacsclient -c" "special:pavucontrol, on-created-empty:pavucontrol" "special:easyeffects, on-created-empty:easyeffects" "special:blueman, on-created-empty:blueman-manager" "special:keepass, on-created-empty:keepassxc" "1, defaultName:comm" "2, defaultName:web" "3, defaultName:work" "4, defaultName:read" ]; layerrule = [ "blur, waybar" ]; }