# See https://wiki.hyprland.org/Configuring/Monitors/ monitor=,preferred,auto,auto # Variables # ------------- # colors $color_border = rgb(191B2B) $color_active_border = $color_border $color_inactive_border = $color_border # Set programs that you use $terminal = alacritty $menu = wofi --show drun $run_prog = wofi --show run # Some default env vars. env = XCURSOR_SIZE,22 env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that 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 } general { gaps_in = 0 gaps_out = -1 border_size = 1 col.active_border = $color_active_border col.inactive_border = $color_inactive_border layout = dwindle allow_tearing = false } decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more blur { enabled = true size = 3 passes = 1 } drop_shadow = no } animations { enabled = yes animation = windows, 1, 2, default animation = windowsOut, 1, 7, default, popin 80% animation = border, 0, 0, default animation = borderangle, 0, 0, default animation = fade, 0, 0, default animation = workspaces, 1, 1, default } dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = no # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = yes # you probably want this no_gaps_when_only = yes } master { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more new_is_master = 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 or 1 to disable the anime mascot wallpapers } windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, Return, exec, $terminal bind = $mainMod, X, killactive, bind = $mainMod, M, exit, bind = $mainMod, F, togglefloating, bind = $mainMod, D, exec, $menu bind = $mainMod, P, exec, $run_prog bind = $mainMod, V, togglesplit, # dwindle # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d # 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 # 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 # Example special workspace (scratchpad) bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod SHIFT, S, movetoworkspace, special:magic # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # Bar exec-once=waybar