monitor=eDP-1, 1920x1200, 0x0, 1 #monitor=DP-3, 1920x1080, -1920x0, 1 monitor=DP-4, 1920x1080, 1920x0, 1 exec-once = emacs --daemon & hyprpaper & eww open side-panel # env = XCURSOR_SIZE,24 env = WLR_NO_HARDWARE_CURSORS,1 # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = us follow_mouse = 1 touchpad { natural_scroll = no } sensitivity = 0 # -1.0 - 1.0, 0 means no modification. } general { # See https://wiki.hyprland.org/Configuring/Variables/ for more gaps_in = 5 gaps_out = 20 border_size = 3 col.active_border = rgba(7d32a899) rgba(da16f099) 45deg col.inactive_border = rgba(cccccc88) layout = dwindle } # group { # col.border_active = rgba(00000099) rgba(66666699) 45deg # col.border_inactive = rgba(cccccc88) # } decoration { active_opacity = 0.99 inactive_opacity = 0.90 rounding = 2 blur { enabled = true size = 3 passes = 1 } drop_shadow = yes shadow_range = 8 shadow_render_power = 3 col.shadow = rgba(1a1a1a33) } 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 } gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more workspace_swipe = on } misc { disable_hyprland_logo=true } # 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 bindle = ,XF86MonBrightnessUp, exec, brightnessctl set +10% bindle = ,XF86MonBrightnessDown, exec, brightnessctl set 10%- bindle=, XF86AudioRaiseVolume, exec, amixer sset Master 5%+ bindle=, XF86AudioRaiseVolume, exec, eww update volume=$(amixer sget Master | awk -F"[][]" '/Left:/ { print $2 }' | tr -d '%') bindle=, XF86AudioLowerVolume, exec, amixer sset Master 5%- bindle=, XF86AudioLowerVolume, exec, eww update volume=$(amixer sget Master | awk -F"[][]" '/Left:/ { print $2 }' | tr -d '%') bindle=, XF86AudioMute, exec, amixer sset Master 1+ toggle bindle=, XF86AudioMute, exec, eww update volume=$(amixer sget Master | awk -F"[][]" '/Left:/ { print $2 }' | tr -d '%') bindle=, XF86AudioPlay, exec, playerctl play-pause bindle=, XF86AudioNext, exec, playerctl next bindle=, XF86AudioPrev, exec, playerctl previous bind = $mainMod, RETURN, exec, kitty bind = $mainMod, W, killactive, bind = $mainMod, E, exec, emacsclient -c bind = $mainMod SHIFT, F, togglefloating, bind = $mainMod, SPACE, exec, fuzzel bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, V, togglesplit, # dwindle bind = $mainMod, X, pin, bind = $mainMod, X, toggleopaque, bind = $mainMod, F, fullscreen bind = $mainMod, b, exec, eww open --toggle side-panel bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy # 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 = $mainMod SHIFT, h, movewindow, l bind = $mainMod SHIFT, l, movewindow, r bind = $mainMod SHIFT, k, movewindow, u bind = $mainMod SHIFT, j, movewindow, d # Switch workspaces with mainMod + [0-9] bind=SUPER,1,moveworkspacetomonitor,1 current bind=SUPER,1,workspace,1 bind=SUPER,2,moveworkspacetomonitor,2 current bind=SUPER,2,workspace,2 bind=SUPER,3,moveworkspacetomonitor,3 current bind=SUPER,3,workspace,3 bind=SUPER,4,moveworkspacetomonitor,4 current bind=SUPER,4,workspace,4 bind=SUPER,5,moveworkspacetomonitor,5 current bind=SUPER,5,workspace,5 bind=SUPER,6,moveworkspacetomonitor,6 current bind=SUPER,6,workspace,6 bind=SUPER,7,moveworkspacetomonitor,7 current bind=SUPER,7,workspace,7 bind=SUPER,8,moveworkspacetomonitor,8 current bind=SUPER,8,workspace,8 bind=SUPER,9,moveworkspacetomonitor,9 current bind=SUPER,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 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 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow