# ╔═══════════════════════════════════════════════════════════════════╗ # ║ HYPRARCH - Hyprland Config ║ # ║ https://git.cribdev.com/hyprarch ║ # ╚═══════════════════════════════════════════════════════════════════╝ # ── Monitor ────────────────────────────────────────────────────────── monitor = ,preferred,auto,1 # ── Startup ────────────────────────────────────────────────────────── exec-once = waybar exec-once = swww-daemon exec-once = nm-applet --indicator exec-once = blueman-applet exec-once = dunst # Set wallpaper after swww starts exec-once = sleep 1 && swww img ~/Pictures/wallpapers/default.jpg --transition-type grow # ── Environment Variables ──────────────────────────────────────────── env = XCURSOR_SIZE,24 env = QT_QPA_PLATFORMTHEME,qt5ct env = QT_QPA_PLATFORM,wayland env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland env = XDG_SESSION_DESKTOP,Hyprland # ── Input ──────────────────────────────────────────────────────────── input { kb_layout = us follow_mouse = 1 sensitivity = 0 touchpad { natural_scroll = true } } # ── General ────────────────────────────────────────────────────────── general { gaps_in = 5 gaps_out = 10 border_size = 2 col.active_border = rgba(88c0d0ee) rgba(81a1c1ee) 45deg col.inactive_border = rgba(4c566aaa) layout = dwindle } # ── Decoration ─────────────────────────────────────────────────────── decoration { rounding = 8 blur { enabled = true size = 6 passes = 2 new_optimizations = true } shadow { enabled = true range = 20 render_power = 3 color = rgba(1a1a1aee) } } # ── Animations ─────────────────────────────────────────────────────── animations { enabled = true bezier = wind, 0.05, 0.9, 0.1, 1.05 bezier = winIn, 0.1, 1.1, 0.1, 1.1 bezier = winOut, 0.3, -0.3, 0, 1 bezier = liner, 1, 1, 1, 1 animation = windows, 1, 6, wind, slide animation = windowsIn, 1, 6, winIn, slide animation = windowsOut, 1, 5, winOut, slide animation = windowsMove, 1, 5, wind, slide animation = border, 1, 1, liner animation = borderangle, 1, 30, liner, loop animation = fade, 1, 10, default animation = workspaces, 1, 5, wind } # ── Layouts ────────────────────────────────────────────────────────── dwindle { pseudotile = true preserve_split = true } master { new_status = master } # ── Gestures ───────────────────────────────────────────────────────── gestures { workspace_swipe = true } # ── Misc ───────────────────────────────────────────────────────────── misc { force_default_wallpaper = 0 disable_hyprland_logo = true disable_splash_rendering = true } # ── Window Rules ───────────────────────────────────────────────────── windowrulev2 = suppressevent maximize, class:.* windowrulev2 = float, class:^(pavucontrol)$ windowrulev2 = float, class:^(blueman-manager)$ windowrulev2 = float, class:^(nm-connection-editor)$ windowrulev2 = float, title:^(Picture-in-Picture)$ # ── Keybindings ────────────────────────────────────────────────────── $mainMod = SUPER # Applications bind = $mainMod, Return, exec, kitty bind = $mainMod, Q, killactive, bind = $mainMod, M, exit, bind = $mainMod, E, exec, thunar bind = $mainMod, V, togglefloating, bind = $mainMod, D, exec, rofi -show drun bind = $mainMod, P, pseudo, bind = $mainMod, J, togglesplit, bind = $mainMod, F, fullscreen, bind = $mainMod, L, exec, hyprlock # Screenshots bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy bind = , Print, exec, grim -g "$(slurp)" ~/Pictures/screenshots/$(date +%Y%m%d_%H%M%S).png # Move focus bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d # Switch workspaces bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 bind = $mainMod, 4, workspace, 4 bind = $mainMod, 5, workspace, 5 bind = $mainMod, 6, workspace, 6 bind = $mainMod, 7, workspace, 7 bind = $mainMod, 8, workspace, 8 bind = $mainMod, 9, workspace, 9 bind = $mainMod, 0, workspace, 10 # Move active window to workspace bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 3, movetoworkspace, 3 bind = $mainMod SHIFT, 4, movetoworkspace, 4 bind = $mainMod SHIFT, 5, movetoworkspace, 5 bind = $mainMod SHIFT, 6, movetoworkspace, 6 bind = $mainMod SHIFT, 7, movetoworkspace, 7 bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Scroll through workspaces bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 # Move/resize windows with mouse bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # Volume and brightness bindel = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ bindel = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- bindel = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bindel = , XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle bindel = , XF86MonBrightnessUp, exec, brightnessctl s 10%+ bindel = , XF86MonBrightnessDown, exec, brightnessctl s 10%-