hyprland.conf 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. $mainMod = SUPER
  2. # MONITOR CONFIG
  3. monitor=,preferred,auto,1
  4. monitor=,addreserved, 0, 0, 0, 0
  5. input {
  6. # Keyboard
  7. kb_layout = ch
  8. kb_options = caps:swapescape,altwin:swap_lalt_lwin
  9. numlock_by_default = true
  10. repeat_delay = 250
  11. repeat_rate = 35
  12. }
  13. binds {
  14. scroll_event_delay = 0
  15. }
  16. general {
  17. cursor_inactive_timeout 0
  18. # max_fps = 75
  19. # Gaps and border
  20. gaps_in = 0
  21. gaps_out = 0
  22. gaps_workspaces = 50
  23. border_size = 0
  24. # Functionality
  25. # resize_on_border = true
  26. no_focus_fallback = true
  27. layout = master
  28. allow_tearing = false # some guy told me tearing might make things smoother idk
  29. }
  30. animations {
  31. enabled = false
  32. }
  33. misc {
  34. vfr = true
  35. vrr = 1
  36. animate_manual_resizes = false
  37. enable_swallow = true
  38. disable_hyprland_logo = true
  39. background_color = rgb(000000)
  40. new_window_takes_over_fullscreen = 2
  41. }
  42. debug {
  43. #overlay = true
  44. #damage_tracking = 0
  45. #damage_blink = yes
  46. }
  47. ######## Window rules ########
  48. windowrule = workspace 1 silent, title:^(pulpit_in)(.*)$
  49. windowrule = workspace 2 silent, title:^(rtmp_in)(.*)$
  50. ####### Keybinds ########
  51. bind = Super, Return, exec, kitty
  52. bind = Super, E, exec, nautilus --new-window
  53. bind = Super, 1, workspace, 1
  54. bind = Super, 2, workspace, 2
  55. bind = Super, 3, workspace, 3
  56. bind = Super, 4, workspace, 4
  57. bind = Super, 5, workspace, 5
  58. bind = Super, 6, workspace, 6
  59. bind = Super, 7, workspace, 7
  60. bind = Super, 8, workspace, 8
  61. bind = Super, 9, workspace, 9
  62. bind = Super, 0, workspace, 10
  63. bind = Super Shift, 1, movetoworkspacesilent, 1
  64. bind = Super Shift, 2, movetoworkspacesilent, 2
  65. bind = Super Shift, 3, movetoworkspacesilent, 3
  66. bind = Super Shift, 4, movetoworkspacesilent, 4
  67. bind = Super Shift, 5, movetoworkspacesilent, 5
  68. bind = Super Shift, 6, movetoworkspacesilent, 6
  69. bind = Super Shift, 7, movetoworkspacesilent, 7
  70. bind = Super Shift, 8, movetoworkspacesilent, 8
  71. bind = Super Shift, 9, movetoworkspacesilent, 9
  72. bind = Super Shift, 0, movetoworkspacesilent, 10
  73. bind = Super, F, fullscreen, 0
  74. bind = SuperShift, F, fakefullscreen, 0
  75. bind = Super, Q, killactive,
  76. bind = SuperShift, Q, exec, gracefully-quit-all-hypr-windows; hyprctl clients | grep -q "mapped:\s*1" || killall Hyprland
  77. bind = SuperCtrl, Q, exec, killall Hyprland
  78. exec-once=[workspace 4 silent] kitty -e videopc_api
  79. exec-once=[workspace 4 silent] kitty -e show-rtmp-in
  80. exec-once=[workspace 4 silent] kitty -e show-pulpit-in