You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

183 lines
5.0 KiB

  1. # See https://wiki.hyprland.org/Configuring/Monitors/
  2. monitor=DVI-D-1,preferred,-1920x0,auto
  3. monitor=HDMI-A-1,preferred,auto,auto
  4. # workspace binding
  5. workspace=1,monitor:DVI-D-1
  6. workspace=2,monitor:HDMI-A-1
  7. workspace=3,monitor:HDMI-A-1
  8. workspace=4,monitor:HDMI-A-1
  9. workspace=5,monitor:HDMI-A-1
  10. workspace=6,monitor:HDMI-A-1
  11. workspace=7,monitor:HDMI-A-1
  12. workspace=8,monitor:HDMI-A-1
  13. workspace=9,monitor:HDMI-A-1
  14. workspace=10,monitor:HDMI-A-1
  15. # Execute your favorite apps at launch
  16. exec-once = ~/.config/hypr/xdg.sh
  17. exec-once = hyprpaper
  18. exec-once = swayidle -w timeout 600 swaylock before-sleep swaylock
  19. exec-once = ~/.config/hypr/start-in-tray.sh
  20. # Set programs that you use
  21. $terminal = alacritty
  22. $fileManager = dolphin
  23. $menu = wofi --show drun
  24. # Some default env vars.
  25. env = XCURSOR_SIZE,24
  26. # For all categories, see https://wiki.hyprland.org/Configuring/Variables/
  27. input {
  28. kb_layout = us
  29. kb_variant =
  30. kb_model =
  31. kb_options =
  32. kb_rules =
  33. follow_mouse = 1
  34. touchpad {
  35. natural_scroll = no
  36. }
  37. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
  38. }
  39. general {
  40. # See https://wiki.hyprland.org/Configuring/Variables/ for more
  41. gaps_in = 5
  42. gaps_out = 10
  43. border_size = 2
  44. col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
  45. col.inactive_border = rgba(595959aa)
  46. layout = master
  47. # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
  48. allow_tearing = false
  49. }
  50. decoration {
  51. # See https://wiki.hyprland.org/Configuring/Variables/ for more
  52. rounding = 5
  53. blur {
  54. enabled = true
  55. size = 3
  56. passes = 1
  57. }
  58. drop_shadow = yes
  59. shadow_range = 4
  60. shadow_render_power = 3
  61. col.shadow = rgba(1a1a1aee)
  62. }
  63. animations {
  64. enabled = yes
  65. # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
  66. bezier = myBezier, 0.05, 0.9, 0.1, 1.05
  67. animation = windows, 1, 7, myBezier
  68. animation = windowsOut, 1, 7, default, popin 80%
  69. animation = border, 1, 10, default
  70. animation = borderangle, 1, 8, default
  71. animation = fade, 1, 7, default
  72. animation = workspaces, 1, 6, default
  73. }
  74. dwindle {
  75. # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
  76. pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
  77. preserve_split = yes # you probably want this
  78. }
  79. master {
  80. new_is_master = true
  81. new_on_top = true
  82. }
  83. gestures {
  84. # See https://wiki.hyprland.org/Configuring/Variables/ for more
  85. workspace_swipe = off
  86. }
  87. misc {
  88. # See https://wiki.hyprland.org/Configuring/Variables/ for more
  89. force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
  90. }
  91. # Example per-device config
  92. # See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
  93. device:epic-mouse-v1 {
  94. sensitivity = -0.5
  95. }
  96. # Example windowrule v1
  97. # windowrule = float, ^(kitty)$
  98. # Example windowrule v2
  99. # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
  100. # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
  101. windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.
  102. # See https://wiki.hyprland.org/Configuring/Keywords/ for more
  103. $mainMod = SUPER
  104. # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
  105. bind = $mainMod SHIFT, Return, exec, $terminal
  106. bind = $mainMod, Q, killactive,
  107. bind = $mainMod SHIFT, Q, exit,
  108. bind = $mainMod, V, togglefloating,
  109. bind = $mainMod, P, exec, $menu
  110. # DWM style window management
  111. bind = $mainMod, Return, layoutmsg, swapwithmaster
  112. bind = $mainMod, J, layoutmsg, cyclenext
  113. bind = $mainMod, K, layoutmsg, cycleprev
  114. bind = $mainMod, I, layoutmsg, addmaster
  115. bind = $mainMod, D, layoutmsg, removemaster
  116. # Switch workspaces with mainMod + [0-9]
  117. bind = $mainMod, 1, workspace, 1
  118. bind = $mainMod, 2, workspace, 2
  119. bind = $mainMod, 3, workspace, 3
  120. bind = $mainMod, 4, workspace, 4
  121. bind = $mainMod, 5, workspace, 5
  122. bind = $mainMod, 6, workspace, 6
  123. bind = $mainMod, 7, workspace, 7
  124. bind = $mainMod, 8, workspace, 8
  125. bind = $mainMod, 9, workspace, 9
  126. bind = $mainMod, 0, workspace, 10
  127. # Move active window to a workspace with mainMod + SHIFT + [0-9]
  128. bind = $mainMod SHIFT, 1, movetoworkspace, 1
  129. bind = $mainMod SHIFT, 2, movetoworkspace, 2
  130. bind = $mainMod SHIFT, 3, movetoworkspace, 3
  131. bind = $mainMod SHIFT, 4, movetoworkspace, 4
  132. bind = $mainMod SHIFT, 5, movetoworkspace, 5
  133. bind = $mainMod SHIFT, 6, movetoworkspace, 6
  134. bind = $mainMod SHIFT, 7, movetoworkspace, 7
  135. bind = $mainMod SHIFT, 8, movetoworkspace, 8
  136. bind = $mainMod SHIFT, 9, movetoworkspace, 9
  137. bind = $mainMod SHIFT, 0, movetoworkspace, 10
  138. # Example special workspace (scratchpad)
  139. bind = $mainMod, S, togglespecialworkspace, magic
  140. bind = $mainMod SHIFT, S, movetoworkspace, special:magic
  141. # Scroll through existing workspaces with mainMod + scroll
  142. bind = $mainMod, mouse_down, workspace, e+1
  143. bind = $mainMod, mouse_up, workspace, e-1
  144. # Move/resize windows with mainMod + LMB/RMB and dragging
  145. bindm = $mainMod, mouse:272, movewindow
  146. bindm = $mainMod, mouse:273, resizewindow