source=~/.config/hypr/mocha.conf # exec-once = hyprctl setcursor catppuccin-mocha-dark-cursors 28 # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=,preferred,auto,auto # Set programs that you use $terminal = ghostty $menu = rofi -show drun drun $powerMenu = rofi -show power-menu -modi "power-menu:rofi-power-menu --choices=shutdown/reboot/logout/lockscreen/suspend" # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: exec-once=waybar & swaync & hyprpaper & hypridle # env variables env = XCURSOR_SIZE,18 env = HYPRCURSOR_SIZE,18 # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = us kb_variant = kb_model = kb_options = kb_rules = kb_options = # kb_options = ctrl:nocaps follow_mouse = 1 sensitivity = 0 # -1.0 to 1.0, 0 means no modification. touchpad { natural_scroll = yes } } # https://wiki.hyprland.org/Configuring/Variables/#gestures gestures { workspace_swipe = false } general { # See https://wiki.hyprland.org/Configuring/Variables/ for more border_size = 1 col.active_border = $peach col.inactive_border = $surface2 resize_on_border = true gaps_in = 2 gaps_out = 3 layout = dwindle # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on allow_tearing = false } decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more rounding = 4 blur { enabled = true size = 3 passes = 1 new_optimizations = true } } animations { enabled = false bezier = linear, 0.0, 0.0, 1, 1 animation = borderangle, 1, 50, linear, loop animation=workspaces,1,0.5,default animation=windows,0,0.1,default animation=fade,0,0.1,default } dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # you probably want this } misc { # See https://wiki.hyprland.org/Configuring/Variables/ for more force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers } # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more device { name = epic-mouse-v1 sensitivity = -0.5 } # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = super # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, W, killactive, bind = $mainMod, Q, exit, bind = $mainMod, V, togglefloating, bind = $mainMod, F, fullscreen, # dwindle bind = $mainMod, P, pseudo, # dwindle # bind = $mainMod, E, togglesplit, # dwindle bind = $mainMod, space, exec, $menu bind = $mainMod, return, exec, $terminal bind = $mainMod, F1, exec, powermenu # bind = $mainMod, period, exec, $emojiPicker # install emoji picker first # Move focus with mainMod + arrow keys bind = $mainMod, h, movefocus, l bind = $mainMod, l, movefocus, r bind = $mainMod, k, movefocus, u bind = $mainMod, j, movefocus, d # bind = $SUPER_SHIFT, l, exec, hyprlock # bind = $SUPER_SHIFT, R, exec, hyprctl reload # Switch workspaces with mainMod + [0-9] 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 a workspace with mainMod + SHIFT + [0-9] 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 # Example special workspace (scratchpad) bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod SHIFT, S, movetoworkspace, special:magic # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 # screenshots w Hyprshot # bind = , Print, exec, hyprshot -m window # bind = shift, Print, exec, hyprshot -m region bind = $mainMod, PRINT, exec, hyprshot --freeze -m window --clipboard-only bind = , PRINT, exec, hyprshot --freeze -m output #--clipboard-only bind = SHIFT, PRINT, exec, hyprshot --freeze -m region --clipboard-only # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # Sound through pactl bindel = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +10% bindel = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -10% bindel = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle # Brightness through brightnessctl bindel = , XF86MonBrightnessUp, exec, brightnessctl set +5% bindel = , XF86MonBrightnessDown, exec, brightnessctl set 5%- # Requires playerctl bindl = , XF86AudioNext, exec, playerctl next bindl = , XF86AudioPause, exec, playerctl play-pause bindl = , XF86AudioPlay, exec, playerctl play-pause bindl = , XF86AudioPrev, exec, playerctl previous # Example windowrule # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # Ignore maximize requests from apps. You'll probably like this. windowrule = suppressevent maximize, class:.* layerrule = noanim, rofi # Fix some dragging issues with XWayland windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 # windowrulev2 = workspace 9, class:zen # windowrulev2 = fullscreen,class:^steam_app\d+$