Advertisement
Guest User

Untitled

a guest
Mar 31st, 2024
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.37 KB | None | 0 0
  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.  
  14. # See https://wiki.hyprland.org/Configuring/Monitors/
  15. monitor=eDP-1,preferred,auto,1, bitdepth,10
  16. monitor=DP-1,1920x1080@144,1920x0,1
  17. monitor=HDMI-A-1,1920x1080@60,0x0,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
  24. # load plugins
  25. exec-once = hyprpm reload -n
  26. exec-once=/usr/lib/polkit-kde-authentication-agent-1
  27. exec-once=$HOME/.local/share/hyprload/hyprload.sh
  28.  
  29. # Source a file (multi-file configs)
  30. # source = ~/.config/hypr/myColors.conf
  31.  
  32. # Set programs that you use
  33. $terminal = kitty
  34. $fileManager = dolphin
  35. $menu = rofi -show run
  36.  
  37. # Some default env vars.
  38. env = XCURSOR_SIZE,24
  39.  
  40. # For all categories, see https://wiki.hyprland.org/Configuring/Variables/
  41. input {
  42. kb_layout = us
  43. kb_variant =
  44. kb_model =
  45. kb_options =
  46. kb_rules =
  47.  
  48. follow_mouse = 1
  49. mouse_refocus=false # so steam works
  50.  
  51. touchpad {
  52. natural_scroll = yes
  53. disable_while_typing = no
  54. }
  55.  
  56. sensitivity = 0.2 # -1.0 - 1.0, 0 means no modification.
  57. accel_profile = flat
  58. }
  59.  
  60. general {
  61. # See https://wiki.hyprland.org/Configuring/Variables/ for more
  62.  
  63. gaps_in = 5
  64. gaps_out = 10
  65. border_size = 2
  66. col.active_border = rgba(fabd2fee) rgba(b8bb26ee) 45deg
  67. col.inactive_border = rgba(595959aa)
  68.  
  69. layout = master
  70.  
  71. # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
  72. allow_tearing = false
  73. }
  74.  
  75. decoration {
  76. # See https://wiki.hyprland.org/Configuring/Variables/ for more
  77.  
  78. rounding = 0
  79.  
  80. blur {
  81. enabled = true
  82. size = 15
  83. passes = 4
  84. }
  85.  
  86. drop_shadow = no
  87. shadow_range = 4
  88. shadow_render_power = 3
  89. col.shadow = rgba(1a1a1aee)
  90. }
  91.  
  92. animations {
  93. enabled = yes
  94.  
  95. # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
  96.  
  97. bezier = myBezier, 0.05, 0.9, 0.1, 1
  98.  
  99. animation = windows, 1, 7, myBezier
  100. animation = windowsOut, 1, 7, default, popin 80%
  101. animation = border, 1, 10, default
  102. animation = borderangle, 1, 8, default
  103. animation = fade, 1, 4, default
  104. animation = workspaces, 1, 6, myBezier
  105. }
  106.  
  107. dwindle {
  108. # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
  109. pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
  110. preserve_split = yes # you probably want this
  111. }
  112.  
  113. master {
  114. # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
  115. new_is_master = false
  116. }
  117.  
  118. gestures {
  119. # See https://wiki.hyprland.org/Configuring/Variables/ for more
  120. workspace_swipe = on
  121. workspace_swipe_min_speed_to_force = 0
  122. workspace_swipe_forever = true
  123. }
  124.  
  125. misc {
  126. # See https://wiki.hyprland.org/Configuring/Variables/ for more
  127. force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
  128. }
  129.  
  130. # Example per-device config
  131. # See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
  132. device:epic-mouse-v1 {
  133. sensitivity = -0.8
  134. }
  135.  
  136. # Example windowrule v1
  137. # windowrule = float, ^(kitty)$
  138. # Example windowrule v2
  139. # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
  140. windowrule = workspace 3,class:^(discord)$
  141. # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
  142. windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.
  143.  
  144.  
  145. # See https://wiki.hyprland.org/Configuring/Keywords/ for more
  146. $mainMod = SUPER
  147.  
  148. # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
  149. bind = $mainMod, return, exec, $terminal
  150. bind = $mainMod, D, exec, $menu
  151. bind = $mainMod SHIFT, Q, killactive,
  152. bind = $mainMod SHIFT, F, fullscreen,
  153. bind = $mainMod, P, exit,
  154. bind = $mainMod, E, exec, $fileManager
  155. bind = $mainMod, Space, togglefloating,
  156. bind = $mainMod, P, pseudo, # dwindle
  157. bind = $mainMod, I, togglesplit, # dwindle
  158. bind = $mainMod SHIFT, S, exec, grimblast --freeze copy area
  159. # bind = $mainMod, S, exec, rofi-keepassxc -d keepass/plugins.kdbx
  160.  
  161. # brightness
  162. binde = ,XF86MonBrightnessUp, exec, brightnessctl s 5%+; bash ~/scripts/brightness.sh
  163. binde = ,XF86MonBrightnessDown, exec, brightnessctl s 5%-; bash ~/scripts/brightness.sh
  164.  
  165. # audio
  166. binde = ,XF86AudioRaiseVolume, exec, ~/scripts/volume.sh up
  167. binde = ,XF86AudioLowerVolume, exec, ~/scripts/volume.sh down
  168.  
  169. # plugins
  170. # bind=SUPERSHIFT,R,hyprload,reload
  171. # bind=SUPERSHIFT,U,hyprload,update
  172.  
  173. # Move focus with mainM/od + arrow keys
  174. bind = $mainMod, H, movefocus, l
  175. bind = $mainMod, L, movefocus, r
  176. bind = $mainMod, K, movefocus, u
  177. bind = $mainMod, J, movefocus, d
  178.  
  179. # Switch workspaces with mainMod + [0-9]
  180. bind = $mainMod, 1, workspace, 1
  181. bind = $mainMod, 2, workspace, 2
  182. bind = $mainMod, 3, workspace, 3
  183. bind = $mainMod, 4, workspace, 4
  184. bind = $mainMod, 5, workspace, 5
  185. bind = $mainMod, 6, workspace, 6
  186. bind = $mainMod, 7, workspace, 7
  187. bind = $mainMod, 8, workspace, 8
  188. bind = $mainMod, 9, workspace, 9
  189. bind = $mainMod, 0, workspace, 10
  190.  
  191. # Move active window to a workspace with mainMod + SHIFT + [0-9]
  192. bind = $mainMod SHIFT, 1, movetoworkspace, 1
  193. bind = $mainMod SHIFT, 2, movetoworkspace, 2
  194. bind = $mainMod SHIFT, 3, movetoworkspace, 3
  195. bind = $mainMod SHIFT, 4, movetoworkspace, 4
  196. bind = $mainMod SHIFT, 5, movetoworkspace, 5
  197. bind = $mainMod SHIFT, 6, movetoworkspace, 6
  198. bind = $mainMod SHIFT, 7, movetoworkspace, 7
  199. bind = $mainMod SHIFT, 8, movetoworkspace, 8
  200. bind = $mainMod SHIFT, 9, movetoworkspace, 9
  201. bind = $mainMod SHIFT, 0, movetoworkspace, 10
  202.  
  203. # Example special workspace (scratchpad)
  204. bind = $mainMod, C, togglespecialworkspace, magic
  205. bind = $mainMod SHIFT, C, movetoworkspace, special:magic
  206.  
  207. # Scroll through existing workspaces with mainMod + scroll
  208. bind = $mainMod, mouse_down, workspace, e+1
  209. bind = $mainMod, mouse_up, workspace, e-1
  210.  
  211. # Move/resize windows with mainMod + LMB/RMB and dragging
  212. bindm = $mainMod, mouse:272, movewindow
  213. bindm = $mainMod, mouse:273, resizewindow
  214.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement