|
| 1 | + |
| 2 | +# ####################################################################################### |
| 3 | +# AUTOGENERATED HYPR CONFIG. |
| 4 | +# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT, |
| 5 | +# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. |
| 6 | +# ####################################################################################### |
| 7 | + |
| 8 | +# |
| 9 | +# Please note not all available settings / options are set here. |
| 10 | +# For a full list, see the wiki |
| 11 | +# |
| 12 | + |
| 13 | +# autogenerated = 1 # remove this line to remove the warning |
| 14 | + |
| 15 | +# See https://wiki.hyprland.org/Configuring/Monitors/ |
| 16 | +# monitor=,preferred,auto,auto |
| 17 | +monitor=HDMI-A-1,preferred,auto,1 |
| 18 | + |
| 19 | + |
| 20 | +# See https://wiki.hyprland.org/Configuring/Keywords/ for more |
| 21 | + |
| 22 | +# Execute your favorite apps at launch |
| 23 | +# exec-once = waybar & hyprpaper & firefox |
| 24 | +exec-once = waybar & hyprpaper & hypridle & nm-applet |
| 25 | + |
| 26 | +# Source a file (multi-file configs) |
| 27 | +# source = ~/.config/hypr/myColors.conf |
| 28 | + |
| 29 | +# Set programs that you use |
| 30 | +$terminal = kitty |
| 31 | +$fileManager = thunar |
| 32 | +$menu = killall wofi || wofi --show drun |
| 33 | +$browser = chromium -incognito |
| 34 | + |
| 35 | +# Some default env vars. |
| 36 | +env = XCURSOR_SIZE,24 |
| 37 | +env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that |
| 38 | + |
| 39 | +# For all categories, see https://wiki.hyprland.org/Configuring/Variables/ |
| 40 | +input { |
| 41 | + kb_layout = us,ru |
| 42 | + kb_variant = |
| 43 | + kb_model = |
| 44 | + kb_options = grp:alt_shift_toggle |
| 45 | + kb_rules = |
| 46 | + |
| 47 | + follow_mouse = 1 |
| 48 | + touchpad { |
| 49 | + natural_scroll = yes |
| 50 | + } |
| 51 | + |
| 52 | + sensitivity = 0.8 # -1.0 to 1.0, 0 means no modification. |
| 53 | +} |
| 54 | + |
| 55 | +general { |
| 56 | + # See https://wiki.hyprland.org/Configuring/Variables/ for more |
| 57 | + |
| 58 | + gaps_in = 5 |
| 59 | + gaps_out = 20 |
| 60 | + border_size = 2 |
| 61 | + col.active_border = rgba(c0caf5ee) rgba(3b82f6ee) 45deg |
| 62 | + col.inactive_border = rgba(595959aa) |
| 63 | + |
| 64 | + layout = dwindle |
| 65 | + |
| 66 | + # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on |
| 67 | + allow_tearing = false |
| 68 | +} |
| 69 | + |
| 70 | +decoration { |
| 71 | + # See https://wiki.hyprland.org/Configuring/Variables/ for more |
| 72 | + |
| 73 | + rounding = 10 |
| 74 | + |
| 75 | + blur { |
| 76 | + enabled = true |
| 77 | + size = 3 |
| 78 | + passes = 1 |
| 79 | + } |
| 80 | + |
| 81 | + drop_shadow = yes |
| 82 | + shadow_range = 4 |
| 83 | + shadow_render_power = 3 |
| 84 | + col.shadow = rgba(1a1a1aee) |
| 85 | +} |
| 86 | + |
| 87 | +animations { |
| 88 | + enabled = yes |
| 89 | + |
| 90 | + # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more |
| 91 | + |
| 92 | + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 |
| 93 | + |
| 94 | + animation = windows, 1, 7, myBezier |
| 95 | + animation = windowsOut, 1, 7, default, popin 80% |
| 96 | + animation = border, 1, 10, default |
| 97 | + animation = borderangle, 1, 8, default |
| 98 | + animation = fade, 1, 7, default |
| 99 | + animation = workspaces, 1, 6, default |
| 100 | +} |
| 101 | + |
| 102 | +dwindle { |
| 103 | + # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more |
| 104 | + pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below |
| 105 | + preserve_split = yes # you probably want this |
| 106 | +} |
| 107 | + |
| 108 | +master { |
| 109 | + # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more |
| 110 | + #new_is_master = true |
| 111 | +} |
| 112 | + |
| 113 | +gestures { |
| 114 | + # See https://wiki.hyprland.org/Configuring/Variables/ for more |
| 115 | +# workspace_swipe = on |
| 116 | +# workspace_swipe_fingers = 3 |
| 117 | +} |
| 118 | + |
| 119 | +misc { |
| 120 | + # See https://wiki.hyprland.org/Configuring/Variables/ for more |
| 121 | + force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers |
| 122 | +} |
| 123 | + |
| 124 | +# Example per-device config |
| 125 | +# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more |
| 126 | +device { |
| 127 | + name = epic-mouse-v1 |
| 128 | + sensitivity = -0.5 |
| 129 | +} |
| 130 | + |
| 131 | +# Example windowrule v1 |
| 132 | +windowrule = float, ^(org.telegram.desktop)$ |
| 133 | +windowrule = float, ^(ristretto)$ |
| 134 | +windowrule = float, ^(org.pulseaudio.pavucontrol)$ |
| 135 | +windowrule = float, ^(virt-manager)$ |
| 136 | +windowrule = float, ^(nm-connection-editor)$ |
| 137 | +windowrule = float, ^(feh)$ |
| 138 | +# Example windowrule v2 |
| 139 | +# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ |
| 140 | +# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more |
| 141 | +windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. |
| 142 | + |
| 143 | + |
| 144 | +# See https://wiki.hyprland.org/Configuring/Keywords/ for more |
| 145 | +$mainMod = SUPER |
| 146 | + |
| 147 | +# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more |
| 148 | +bind = $mainMod, T, exec, $terminal |
| 149 | +bind = $mainMod, Q, killactive, |
| 150 | +bind = $mainMod, M, exit, |
| 151 | +bind = $mainMod, F, exec, $fileManager |
| 152 | +bind = $mainMod, B, exec, $browser |
| 153 | +bind = $mainMod, L, exec, hyprlock |
| 154 | +bind = $mainMod, V, togglefloating, |
| 155 | +bind = $mainMod SHIFT, F, fullscreen, |
| 156 | +bind = $mainMod, R, exec, $menu |
| 157 | +bind = $mainMod, P, pseudo, # dwindle |
| 158 | +bind = $mainMod, J, togglesplit, # dwindle |
| 159 | +bind =, Print, exec, grim - | wl-copy |
| 160 | + |
| 161 | +# Volume binds |
| 162 | +binde=, XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% |
| 163 | +binde=, XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% |
| 164 | +binde=, XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle |
| 165 | + |
| 166 | +# Screenshots |
| 167 | +bind = $mainMod SHIFT, S, exec, grim -g "$(slurp -b 1B1F28CC -c 3B82F6EE -s C778DD0D -w 1)" - | swappy -f - |
| 168 | + |
| 169 | +# Move focus with mainMod + arrow keys |
| 170 | +bind = $mainMod, left, movefocus, l |
| 171 | +bind = $mainMod, right, movefocus, r |
| 172 | +bind = $mainMod, up, movefocus, u |
| 173 | +bind = $mainMod, down, movefocus, d |
| 174 | + |
| 175 | +# Switch workspaces with mainMod + [0-9] |
| 176 | +bind = $mainMod, 1, workspace, 1 |
| 177 | +bind = $mainMod, 2, workspace, 2 |
| 178 | +bind = $mainMod, 3, workspace, 3 |
| 179 | +bind = $mainMod, 4, workspace, 4 |
| 180 | +bind = $mainMod, 5, workspace, 5 |
| 181 | +bind = $mainMod, 6, workspace, 6 |
| 182 | +bind = $mainMod, 7, workspace, 7 |
| 183 | +bind = $mainMod, 8, workspace, 8 |
| 184 | +bind = $mainMod, 9, workspace, 9 |
| 185 | +bind = $mainMod, 0, workspace, 10 |
| 186 | + |
| 187 | +# Move active window to a workspace with mainMod + SHIFT + [0-9] |
| 188 | +bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1 |
| 189 | +bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2 |
| 190 | +bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3 |
| 191 | +bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4 |
| 192 | +bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5 |
| 193 | +bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6 |
| 194 | +bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7 |
| 195 | +bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8 |
| 196 | +bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9 |
| 197 | +bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10 |
| 198 | + |
| 199 | +# Example special workspace (scratchpad) |
| 200 | +# bind = $mainMod, S, togglespecialworkspace, magic |
| 201 | +# bind = $mainMod SHIFT, S, movetoworkspace, special:magic |
| 202 | + |
| 203 | +# Scroll through existing workspaces with mainMod + scroll |
| 204 | +bind = $mainMod, mouse_down, workspace, e+1 |
| 205 | +bind = $mainMod, mouse_up, workspace, e-1 |
| 206 | + |
| 207 | +# Move/resize windows with mainMod + LMB/RMB and dragging |
| 208 | +bindm = $mainMod, mouse:272, movewindow |
| 209 | +bindm = $mainMod, mouse:273, resizewindow |
0 commit comments