# # Please note not all available settings / options are set here. # For a full list, see the wiki # # # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=,highrr,auto,auto # Wayland related environment variables. env = XCURSOR_SIZE,24 env = WLR_NO_HARDWARE_CURSORS=1 # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = us kb_variant = kb_model = kb_options = kb_rules = follow_mouse = 1 touchpad { natural_scroll = yes } repeat_delay = 300 repeat_rate = 50 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. } general { # See https://wiki.hyprland.org/Configuring/Variables/ for more gaps_in = 6 gaps_out = 12 border_size = 2 col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.inactive_border = rgba(595959aa) layout = master # 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 = 10 blur { enabled = true size = 3 passes = 1 } drop_shadow = yes shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(1a1a1aee) } animations { enabled = yes # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more bezier = myBezier, 0.05, 0.9, 0.1, 1.05 animation = windows, 1, 7, myBezier animation = windowsOut, 1, 7, default, popin 80% animation = border, 1, 10, default animation = borderangle, 1, 8, default animation = fade, 1, 7, default animation = workspaces, 1, 6, default } dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = yes # you probably want this } master { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more new_is_master = true no_gaps_when_only = true } gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more workspace_swipe = off } misc { # See https://wiki.hyprland.org/Configuring/Variables/ for more force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers enable_swallow = true swallow_regex = ^footclient$ mouse_move_enables_dpms = true } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#executing for more device:epic-mouse-v1 { sensitivity = -0.5 } # Example windowrule v1 # windowrule = float, ^(kitty)$ # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more $mainMod = SUPER # Program spawning hotkeys bind = CONTROL ALT, BACKSPACE, exec, footclient -e zsh -c 'htop' bind = $mainMod, RETURN, exec, footclient bind = $mainMod, W, exec, firefox bind = $mainMod, E, exec, footclient -e zsh -c 'tmp="$(mktemp)" && command lf -last-dir-path="$tmp" "$@" && test -f "$tmp" && dir="$(command cat "$tmp")" && rm -f "$tmp" && test -d "$dir" && cd "$dir" && exec $SHELL' bind = $mainMod SHIFT, E, exec, emacsclient -c -a 'emacs' bind = $mainMod, P, exec, rofi-pass # Menu hoykeys bind = $mainMod, R, exec, menu-run # System control keybinds binde = $mainMod, MINUS, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%- binde = $mainMod SHIFT, MINUS, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- binde = $mainMod, EQUAL, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+ binde = $mainMod SHIFT, EQUAL, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ binde = ,F7, exec, change-brightness up binde = ,XF86MonBrightnessUp, exec, change-brightness up binde = ,F6, exec, change-brightness down binde = ,XF86MonBrightnessDown, exec, change-brightness down bind = $mainMod, L, exec, hyprctl dispatch dpms off; swaylock -e -c 000000 # Kill commands bind = $mainMod CONTROL SHIFT, Q, exit, bind = $mainMod, Q, killactive, # Change gaps binde = $mainMod, Z, exec, hyprgaps -i 3 binde = $mainMod, X, exec, hyprgaps -d 3 # Master stack movement commands bind = $mainMod, J, layoutmsg, cyclenext bind = $mainMod SHIFT, J, layoutmsg, swapnext bind = $mainMod, K, layoutmsg, cycleprev bind = $mainMod SHIFT, K, layoutmsg, swapprev bind = $mainMod SHIFT, L, splitratio, +0.05 bind = $mainMod SHIFT, H, splitratio, -0.05 # Changing number of masters bind = $mainMod, O, layoutmsg, addmaster bind = $mainMod SHIFT, O, layoutmsg, removemaster # Change tiling direction bind = $mainMod, T, layoutmsg, orientationleft bind = $mainMod SHIFT, T, layoutmsg, orientationtop # Special windows bind = $mainMod, F, togglefloating, bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod SHIFT, S, movetoworkspace, special:magic # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, exec, hyprdwm goto 1 bind = $mainMod, 2, exec, hyprdwm goto 2 bind = $mainMod, 3, exec, hyprdwm goto 3 bind = $mainMod, 4, exec, hyprdwm goto 4 bind = $mainMod, 5, exec, hyprdwm goto 5 bind = $mainMod, 6, exec, hyprdwm goto 6 bind = $mainMod, 7, exec, hyprdwm goto 7 bind = $mainMod, 8, exec, hyprdwm goto 8 bind = $mainMod, 9, exec, hyprdwm goto 9 bind = $mainMod, 0, exec, hyprdwm goto 10 # Move active window to a workspace with mainMod + SHIFT + [0-9] bind = $mainMod SHIFT, 1, exec, hyprdwm moveto 1 bind = $mainMod SHIFT, 2, exec, hyprdwm moveto 2 bind = $mainMod SHIFT, 3, exec, hyprdwm moveto 3 bind = $mainMod SHIFT, 4, exec, hyprdwm moveto 4 bind = $mainMod SHIFT, 5, exec, hyprdwm moveto 5 bind = $mainMod SHIFT, 6, exec, hyprdwm moveto 6 bind = $mainMod SHIFT, 7, exec, hyprdwm moveto 7 bind = $mainMod SHIFT, 8, exec, hyprdwm moveto 8 bind = $mainMod SHIFT, 9, exec, hyprdwm moveto 9 bind = $mainMod SHIFT, 9, exec, hyprdwm moveto 10 # Moving between monitors bind = $mainMod, COMMA, movewindow, mon:l bind = $mainMod, LEFT, movewindow, mon:l bind = $mainMod, PERIOD, movewindow, mon:r bind = $mainMod, RIGHT, movewindow, mon:r # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow exec-once = swww init # Do this early so the daemon has time to load # Set default workspace per monitor exec-once = hyprctl dispatch focusmonitor 1; hyprctl dispatch exec 'hyprdwm goto 1' exec-once = hyprctl dispatch focusmonitor 2; hyprctl dispatch exec 'hyprdwm goto 1' exec-once = hyprctl dispatch focusmonitor 3; hyprctl dispatch exec 'hyprdwm goto 1' exec-once = waybar exec-once = hyprland-autoname-workspaces exec-once = kanshi exec-once = fcitx5 exec-once = foot --server exec-once = sleep 1 && swww img ~/.config/wallpaper