exec-once = copyq --start-server exec-once=waybar exec-once=hyprpaper exec-once=dunst exec-once = hyprpm reload -n monitor=HDMI-A-1,1920x1080@60,0x360,1 monitor=DP-2,2560x1440@144,1920x0,1,vrr,2 env = GDK_BACKEND,wayland,x11,* # env = QT_QPA_PLATFORM,wayland,xcb,* env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 debug { disable_logs = false } # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = us,ru kb_variant = kb_model = kb_options = grp:alt_shift_toggle, caps:escape kb_rules = accel_profile = sensitivity = 1 follow_mouse = 1 mouse_refocus = true repeat_rate = 35 repeat_delay = 500 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. force_no_accel = true } general { gaps_in = 8 gaps_out = 20 border_size = 2 col.active_border = rgba(7e9cd8FF) col.inactive_border = rgba(1f1f28FF) layout = master } cursor { inactive_timeout = 3 } decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more # rounding = 10 rounding = 2 # drop_shadow = no # shadow_range = 4 # shadow_render_power = 3 # col.shadow = rgba(1a1a1aee) # inactive_opacity = 0.90 # active_opacity = 0.90 blur { enabled = yes size = 4 } } animations { enabled = false # 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, 4, myBezier, popin 70% animation = windowsOut, 1, 4, default, popin 80% animation = border, 0, 10, default animation = borderangle, 0, 8, default animation = fade, 0, 7, default animation = workspaces, 0, 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_status = master new_on_top = true mfact = 0.5 } gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more workspace_swipe = off } misc { vrr = 2 disable_hyprland_logo = true # no_direct_scanout = false } # 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 # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER $terminal = alacritty # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # bind = $mainMod_SHIFT, E, exit bind = $mainMod_SHIFT, Q, killactive, bind = $mainMod_SHIFT, SPACE, togglefloating, bind = $mainMod, D, exec, tofi-drun | xargs hyprctl dispatch exec -- # Apps binds bind = $mainMod, RETURN, exec, $terminal bind = $mainMod, B, exec, librewolf bind = $mainMod, M, exec, $terminal -e ncmpcpp bind = $mainMod, E, exec, $terminal -e neomutt bind = $mainMod, N, exec, $terminal -e newsboat # screenshot area bind = $mainMod_SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy # powermenu bind = $mainMod_SHIFT, BackSpace, exec, ~/.config/tofi/powermenu.sh # bind = $mainMod, P, pseudo, # dwindle # bind = $mainMod, J, togglesplit, # dwindle # Move focus with mainMod + arrow keys # bind = $mainMod, L, movefocus, l # bind = $mainMod, H, movefocus, r # bind = $mainMod, up, movefocus, u # bind = $mainMod, down, movefocus, d # bind = $mainMod, L, layoutmsg, cyclenext bind = $mainMod, H, layoutmsg, cycleprev bind = $mainMod, J, focusmonitor, -1 bind = $mainMod, K, focusmonitor, +1 bind = $mainMod, Y, splitratio, +0.1 bind = $mainMod, O, splitratio, -0.1 bind = $mainMod, P, movewindow, mon:-1 bind = $mainMod, SPACE, layoutmsg, swapwithmaster bind = $mainMod, F, fullscreen, swapwithmaster bind = $mainMod, MINUS, exec, pkill -SIGUSR1 waybar # bindr = SUPER, H, exec, pkill -SIGUSR1 waybar # volume controls bind = ,XF86AudioPlay, exec, playerctl play-pause bind = ,XF86AudioPause, exec, playerctl play-pause bind = ,XF86AudioNext, exec, playerctl next bind = ,XF86AudioPrev, exec, playerctl previous bind = $mainMod_SHIFT, bracketleft, exec, playerctl -p mpd volume 0.05- bind = $mainMod_SHIFT, bracketright, exec, playerctl -p mpd volume 0.05+ bind = $mainMod, PAGE_UP, pass, ^(discord)$ # bind = $mainMod, PAGE_UP, pass, ^(vencord)$ # bind = $mainMod, PAGE_UP, pass, ^(discord-screenaudio)$ bind = ,XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% bind = ,XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% bind = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle bind = ,XF86MonBrightnessDown, exec, ddcutil -d 2 setvcp 10 - 5 bind = ,XF86MonBrightnessUp, exec, ddcutil -d 2 setvcp 10 + 5 exec=sleep 5; amixer -c 0 set Front unmute exec=sleep 5; amixer -c 1 set Front unmute plugin { split-monitor-workspaces { count = 10 enable_persistent_workspaces = 0 } } # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, split-workspace, 1 bind = $mainMod, 2, split-workspace, 2 bind = $mainMod, 3, split-workspace, 3 bind = $mainMod, 4, split-workspace, 4 bind = $mainMod, 5, split-workspace, 5 bind = $mainMod, 6, split-workspace, 6 bind = $mainMod, 7, split-workspace, 7 bind = $mainMod, 8, split-workspace, 8 bind = $mainMod, 9, split-workspace, 9 # Move active window to a workspace with mainMod + SHIFT + [0-9] bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1 bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2 bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3 bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4 bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5 bind = $mainMod SHIFT, 6, split-movetoworkspacesilent, 6 bind = $mainMod SHIFT, 7, split-movetoworkspacesilent, 7 bind = $mainMod SHIFT, 8, split-movetoworkspacesilent, 8 bind = $mainMod SHIFT, 9, split-movetoworkspacesilent, 9 # 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=sleep 10;xrandr --output DP-2 --primary