Advertisement
landomix

hyprland.conf

Sep 13th, 2023
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.94 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. # autogenerated = 1 # remove this line to remove the warning
  14.  
  15. # See https://wiki.hyprland.org/Configuring/Monitors/
  16. monitor=eDP-1,1920x1080,auto,1 #auto รจ la posizione di partenza
  17.  
  18.  
  19. # See https://wiki.hyprland.org/Configuring/Keywords/ for more
  20.  
  21. # Execute your favorite apps at launch
  22. # exec-once = waybar & hyprpaper & firefox
  23.  
  24. #Top bar
  25. exec-once=waybar & hyprpaper & avizo-service
  26.  
  27. # Source a file (multi-file configs)
  28. # source = ~/.config/hypr/myColors.conf
  29.  
  30. # Some default env vars.
  31. env = XCURSOR_SIZE,24
  32.  
  33. # Misc
  34. misc {
  35. disable_hyprland_logo = true
  36. }
  37. # For all categories, see https://wiki.hyprland.org/Configuring/Variables/
  38. input {
  39. kb_layout = it
  40. kb_variant =
  41. kb_model =
  42. kb_options =
  43. kb_rules =
  44.  
  45. follow_mouse = 1
  46.  
  47. touchpad {
  48. natural_scroll = yes
  49. disable_while_typing = yes
  50. }
  51.  
  52. sensitivity = 0 # -1.0 - 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(33ccffee) rgba(00ff99ee) 45deg
  62. col.inactive_border = rgba(595959aa)
  63.  
  64. layout = dwindle
  65. }
  66.  
  67. decoration {
  68. # See https://wiki.hyprland.org/Configuring/Variables/ for more
  69.  
  70. rounding = 10
  71.  
  72. blur {
  73. enabled = true
  74. size = 3
  75. passes = 1
  76. }
  77.  
  78. drop_shadow = yes
  79. shadow_range = 4
  80. shadow_render_power = 3
  81. col.shadow = rgba(1a1a1aee)
  82. }
  83.  
  84. animations {
  85. enabled = yes
  86.  
  87. # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
  88.  
  89. bezier = myBezier, 0.05, 0.9, 0.1, 1.05
  90.  
  91. animation = windows, 1, 7, myBezier
  92. animation = windowsOut, 1, 7, default, popin 80%
  93. animation = border, 1, 10, default
  94. animation = borderangle, 1, 8, default
  95. animation = fade, 1, 7, default
  96. animation = workspaces, 1, 6, default
  97. }
  98.  
  99. dwindle {
  100. # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
  101. pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
  102. preserve_split = yes # you probably want this
  103. }
  104.  
  105. master {
  106. # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
  107. new_is_master = true
  108. }
  109.  
  110. gestures {
  111. # See https://wiki.hyprland.org/Configuring/Variables/ for more
  112. workspace_swipe = yes
  113. }
  114.  
  115. # Example per-device config
  116. # See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
  117. device:epic-mouse-v1 {
  118. sensitivity = -0.5
  119. }
  120.  
  121. # Example windowrule v1
  122. # windowrule = float, ^(kitty)$
  123. # Example windowrule v2
  124. # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
  125. # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
  126.  
  127.  
  128. # See https://wiki.hyprland.org/Configuring/Keywords/ for more
  129. $mainMod = SUPER
  130.  
  131. # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
  132. bind = $mainMod, Q, exec, kitty
  133. bind = $mainMod, C, killactive,
  134. bind = $mainMod, M, exit,
  135. bind = $mainMod, E, exec, dolphin
  136. bind = $mainMod, V, togglefloating,
  137. bind = $mainMod, R, exec, wofi --show drun
  138. bind = $mainMod, P, pseudo, # dwindle
  139. bind = $mainMod, J, togglesplit, # dwindle
  140.  
  141. # Reboot
  142. bind = $mainMod, L, exec, swaylock --color 000000
  143. bind = $mainMod SHIFT, S, exec, shutdown now
  144.  
  145. # Change focus type
  146. bind = $mainMod, F, fullscreen, 1 # this works as a toggle! without the "1" hides bar
  147.  
  148. # Move focus with mainMod + arrow keys
  149. bind = $mainMod, left, movefocus, l
  150. bind = $mainMod, right, movefocus, r
  151. bind = $mainMod, up, movefocus, u
  152. bind = $mainMod, down, movefocus, d
  153.  
  154. # Swap focus window
  155. bind = $mainMod SHIFT, left, swapwindow, l
  156. bind = $mainMod SHIFT, right, swapwindow, r
  157. bind = $mainMod SHIFT, up, swapwindow, u
  158. bind = $mainMod SHIFT, down, swapwindow, d
  159.  
  160. # Switch workspaces with mainMod + [0-9]
  161. bind = $mainMod, 1, workspace, 1
  162. bind = $mainMod, 2, workspace, 2
  163. bind = $mainMod, 3, workspace, 3
  164. bind = $mainMod, 4, workspace, 4
  165. bind = $mainMod, 5, workspace, 5
  166. bind = $mainMod, 6, workspace, 6
  167. bind = $mainMod, 7, workspace, 7
  168. bind = $mainMod, 8, workspace, 8
  169. bind = $mainMod, 9, workspace, 9
  170. bind = $mainMod, 0, workspace, 10
  171.  
  172. # Move active window to a workspace with mainMod + SHIFT + [0-9]
  173. bind = $mainMod SHIFT, 1, movetoworkspace, 1
  174. bind = $mainMod SHIFT, 2, movetoworkspace, 2
  175. bind = $mainMod SHIFT, 3, movetoworkspace, 3
  176. bind = $mainMod SHIFT, 4, movetoworkspace, 4
  177. bind = $mainMod SHIFT, 5, movetoworkspace, 5
  178. bind = $mainMod SHIFT, 6, movetoworkspace, 6
  179. bind = $mainMod SHIFT, 7, movetoworkspace, 7
  180. bind = $mainMod SHIFT, 8, movetoworkspace, 8
  181. bind = $mainMod SHIFT, 9, movetoworkspace, 9
  182. bind = $mainMod SHIFT, 0, movetoworkspace, 10
  183.  
  184. # Scroll through existing workspaces with mainMod + scroll
  185. bind = $mainMod, mouse_down, workspace, e+1
  186. bind = $mainMod, mouse_up, workspace, e-1
  187.  
  188. # Move/resize windows with mainMod + LMB/RMB and dragging
  189. bindm = $mainMod, mouse:272, movewindow
  190. bindm = $mainMod, mouse:273, resizewindow
  191.  
  192. # Brightness
  193. bind=,XF86MonBrightnessUp,exec,lightctl up
  194. bind=,XF86MonBrightnessDown,exec,lightctl down
  195.  
  196. # Speaker volume
  197. bind=,XF86AudioRaiseVolume,exec,volumectl -u up # with "-m" you control the mic ... see this
  198. bind=,XF86AudioLowerVolume,exec,volumectl -u down
  199. bind=,XF86AudioMute,exec,volumectl toggle-mute
  200.  
  201. # Mic volume
  202. # bind=$mainMod,XF86AudioRaiseVolume,exec,pamixer --default-source -i 5
  203. # bind=$mainMod,XF86AudioLowerVolume,exec,pamixer --default-source -d 5
  204. # bind=,XF86AudioMicMute,exec,pamixer --default-source --toggle-mute
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement