Advertisement
Guest User

hyprland.conf

a guest
Feb 3rd, 2025
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.46 KB | None | 0 0
  1. #███████████████████████████████████████████████████████████████████
  2.  
  3. #███╗ ███╗ ██████╗ ███╗ ██╗██╗████████╗ ██████╗ ██████╗ ███████╗
  4. #████╗ ████║██╔═══██╗████╗ ██║██║╚══██╔══╝██╔═══██╗██╔══██╗██╔════╝
  5. #██╔████╔██║██║ ██║██╔██╗ ██║██║ ██║ ██║ ██║██████╔╝███████╗
  6. #██║╚██╔╝██║██║ ██║██║╚██╗██║██║ ██║ ██║ ██║██╔══██╗╚════██║
  7. #██║ ╚═╝ ██║╚██████╔╝██║ ╚████║██║ ██║ ╚██████╔╝██║ ██║███████║
  8. #╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝
  9.  
  10. # See https://wiki.hyprland.org/Configuring/Monitors/
  11.  
  12. monitor = DP-2, 3440x1440@165, 0x0, 1
  13. monitor = DP-3, 2560x1440@144, 3440x0, 1
  14.  
  15. #▗▄▄▄▖▗▖ ▗▖▗▄▄▖ ▗▖ ▗▄▄▄▖ ▗▄▄▖▗▄▄▄▖▗▄▄▄▖ ▗▄▄▖▗▖ ▗▖▗▖ ▗▖ ▗▄▄▖
  16. #▐▌ ▝▚▞▘ ▐▌ ▐▌▐▌ █ ▐▌ █ █ ▐▌ ▝▚▞▘ ▐▛▚▖▐▌▐▌
  17. #▐▛▀▀▘ ▐▌ ▐▛▀▘ ▐▌ █ ▐▌ █ █ ▝▀▚▖ ▐▌ ▐▌ ▝▜▌▐▌
  18. #▐▙▄▄▖▗▞▘▝▚▖▐▌ ▐▙▄▄▖▗▄█▄▖▝▚▄▄▖▗▄█▄▖ █ ▗▄▄▞▘ ▐▌ ▐▌ ▐▌▝▚▄▄▖
  19.  
  20. render {
  21. explicit_sync = 1
  22. explicit_sync_kms = 1
  23. direct_scanout = no
  24. }
  25.  
  26. xwayland {
  27. force_zero_scaling = false
  28. }
  29.  
  30. #█████████████████████████████████████████████████████████████████████████████████████████████
  31.  
  32. #███╗ ███╗██╗ ██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██████╗ █████╗ ███╗ ███╗███████╗
  33. #████╗ ████║╚██╗ ██╔╝ ██╔══██╗██╔══██╗██╔═══██╗██╔════╝ ██╔══██╗██╔══██╗████╗ ████║██╔════╝
  34. #██╔████╔██║ ╚████╔╝ ██████╔╝██████╔╝██║ ██║██║ ███╗██████╔╝███████║██╔████╔██║███████╗
  35. #██║╚██╔╝██║ ╚██╔╝ ██╔═══╝ ██╔══██╗██║ ██║██║ ██║██╔══██╗██╔══██║██║╚██╔╝██║╚════██║
  36. #██║ ╚═╝ ██║ ██║ ██║ ██║ ██║╚██████╔╝╚██████╔╝██║ ██║██║ ██║██║ ╚═╝ ██║███████║
  37. #╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝
  38.  
  39. # See https://wiki.hyprland.org/Configuring/Keywords/
  40.  
  41. $terminal = kitty
  42. $fileManager = dolphin
  43. $menu = nwg-drawer
  44. $browser = firefox --disable-gpu-compositing
  45.  
  46.  
  47. #█████████████████████████████████████████████████████████████████████████████
  48.  
  49. # █████╗ ██╗ ██╗████████╗ ██████╗ ███████╗████████╗ █████╗ ██████╗ ████████╗
  50. #██╔══██╗██║ ██║╚══██╔══╝██╔═══██╗██╔════╝╚══██╔══╝██╔══██╗██╔══██╗╚══██╔══╝
  51. #███████║██║ ██║ ██║ ██║ ██║███████╗ ██║ ███████║██████╔╝ ██║
  52. #██╔══██║██║ ██║ ██║ ██║ ██║╚════██║ ██║ ██╔══██║██╔══██╗ ██║
  53. #██║ ██║╚██████╔╝ ██║ ╚██████╔╝███████║ ██║ ██║ ██║██║ ██║ ██║
  54. #╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝
  55.  
  56. #▗▄▄▖ ▗▄▖ ▗▄▄▖▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▖ ▗▖▗▖ ▗▖▗▄▄▄ ▗▄▄▖ ▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▖ ▗▖ ▗▄▄▖
  57. #▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▗▞▘▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▛▚▖▐▌▐▌ █ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▛▚▞▜▌▐▌
  58. #▐▛▀▚▖▐▛▀▜▌▐▌ ▐▛▚▖ ▐▌▝▜▌▐▛▀▚▖▐▌ ▐▌▐▌ ▐▌▐▌ ▝▜▌▐▌ █ ▐▛▀▘ ▐▛▀▚▖▐▌ ▐▌▐▌▝▜▌▐▛▀▚▖▐▛▀▜▌▐▌ ▐▌ ▝▀▚▖
  59. #▐▙▄▞▘▐▌ ▐▌▝▚▄▄▖▐▌ ▐▌▝▚▄▞▘▐▌ ▐▌▝▚▄▞▘▝▚▄▞▘▐▌ ▐▌▐▙▄▄▀ ▐▌ ▐▌ ▐▌▝▚▄▞▘▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘
  60. #
  61. # exec-once = sway-audio-idle-inhibit
  62. exec-once = lxsession
  63. exec-once = wljoywake
  64. exec-once = hypridle
  65. # exec-once = hyprpaper
  66. exec-once = copyq --start-server
  67. exec-once = /home/rasmus-cosmic/scripts/global/wallpaper.sh
  68. # exec-once = wl-paste -t text -w xclip -selection clipboard
  69.  
  70. #▗▄▄▄ ▗▄▄▄▖ ▗▄▄▖▗▖ ▗▖▗▄▄▄▖▗▄▖ ▗▄▄▖ ▗▄▄▖ ▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▖ ▗▖ ▗▄▄▖
  71. #▐▌ █▐▌ ▐▌ ▐▌▗▞▘ █ ▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▛▚▞▜▌▐▌
  72. #▐▌ █▐▛▀▀▘ ▝▀▚▖▐▛▚▖ █ ▐▌ ▐▌▐▛▀▘ ▐▛▀▘ ▐▛▀▚▖▐▌ ▐▌▐▌▝▜▌▐▛▀▚▖▐▛▀▜▌▐▌ ▐▌ ▝▀▚▖
  73. #▐▙▄▄▀▐▙▄▄▖▗▄▄▞▘▐▌ ▐▌ █ ▝▚▄▞▘▐▌ ▐▌ ▐▌ ▐▌▝▚▄▞▘▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘
  74.  
  75. exec-once = sleep 1 && waybar
  76. exec-once = flatpak run com.core447.StreamController -b
  77. exec-once = sleep 1 && steam -silent -no-cef-sandbox
  78. exec-once = sleep 4 && nm-applet
  79. exec-once = sleep 4 && blueman-applet
  80. exec-once = sleep 6 && discord-canary --start-minimized #--enable-features=UseOzonePlatform --ozone-platform=x11
  81. exec-once = sleep 4 && swaync
  82. exec-once = sleep 4 && caprine
  83. exec-once = sleep 4 && flameshot
  84.  
  85. #▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖ ▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖
  86. #▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌▗▞▘▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌ ▐▌ ▐▌
  87. #▐▌ ▐▌▐▌ ▐▌▐▛▀▚▖▐▛▚▖ ▝▀▚▖▐▛▀▘ ▐▛▀▜▌▐▌ ▐▛▀▀▘ ▐▛▀▘ ▐▛▀▚▖▐▌ ▐▌▐▌ ▐▛▀▀▘ ▝▀▚▖ ▝▀▚▖▐▛▀▀▘ ▝▀▚▖
  88. #▐▙█▟▌▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘▐▌ ▐▌ ▐▌▝▚▄▄▖▐▙▄▄▖ ▐▌ ▐▌ ▐▌▝▚▄▞▘▝▚▄▄▖▐▙▄▄▖▗▄▄▞▘▗▄▄▞▘▐▙▄▄▖▗▄▄▞▘
  89.  
  90. exec-once = hyprctl dispatch workspace 1
  91.  
  92. #▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖ ▗▄▄▖ ▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖
  93. # █ ▐▌ ▐▌▐▌ ▐▛▚▞▜▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌ ▐▌ ▐▌
  94. # █ ▐▛▀▜▌▐▛▀▀▘▐▌ ▐▌▐▛▀▀▘ ▐▛▀▘ ▐▛▀▚▖▐▌ ▐▌▐▌ ▐▛▀▀▘ ▝▀▚▖ ▝▀▚▖▐▛▀▀▘ ▝▀▚▖
  95. # █ ▐▌ ▐▌▐▙▄▄▖▐▌ ▐▌▐▙▄▄▖ ▐▌ ▐▌ ▐▌▝▚▄▞▘▝▚▄▄▖▐▙▄▄▖▗▄▄▞▘▗▄▄▞▘▐▙▄▄▖▗▄▄▞▘
  96.  
  97. # exec-once = systemctl --user import-environment WAYLAND_DISPLAY QT_QPA_PLATFORMTHEME
  98. # exec-once = systemctl --user import-environment \ XDG_CURRENT_DESKTOP XDG_SESSION_TYPE
  99. exec-once = dbus-update-activation-environment \ --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
  100. exec = gsettings set org.gnome.desktop.interface gtk-theme "breeze-dark" # for GTK3 apps
  101. exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps
  102.  
  103.  
  104. #██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
  105.  
  106. #███████╗███╗ ██╗██╗ ██╗██╗██████╗ ██████╗ ███╗ ██╗███╗ ███╗███████╗███╗ ██╗████████╗ ██╗ ██╗ █████╗ ██████╗ ██╗ █████╗ ██████╗ ██╗ ███████╗███████╗
  107. #██╔════╝████╗ ██║██║ ██║██║██╔══██╗██╔═══██╗████╗ ██║████╗ ████║██╔════╝████╗ ██║╚══██╔══╝ ██║ ██║██╔══██╗██╔══██╗██║██╔══██╗██╔══██╗██║ ██╔════╝██╔════╝
  108. #█████╗ ██╔██╗ ██║██║ ██║██║██████╔╝██║ ██║██╔██╗ ██║██╔████╔██║█████╗ ██╔██╗ ██║ ██║ ██║ ██║███████║██████╔╝██║███████║██████╔╝██║ █████╗ ███████╗
  109. #██╔══╝ ██║╚██╗██║╚██╗ ██╔╝██║██╔══██╗██║ ██║██║╚██╗██║██║╚██╔╝██║██╔══╝ ██║╚██╗██║ ██║ ╚██╗ ██╔╝██╔══██║██╔══██╗██║██╔══██║██╔══██╗██║ ██╔══╝ ╚════██║
  110. #███████╗██║ ╚████║ ╚████╔╝ ██║██║ ██║╚██████╔╝██║ ╚████║██║ ╚═╝ ██║███████╗██║ ╚████║ ██║ ╚████╔╝ ██║ ██║██║ ██║██║██║ ██║██████╔╝███████╗███████╗███████║
  111. #╚══════╝╚═╝ ╚═══╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═════╝ ╚══════╝╚══════╝╚══════╝
  112.  
  113. # See https://wiki.hyprland.org/Configuring/Environment-variables/
  114.  
  115. env = XDG_CONFIG_HOME,$HOME/.config
  116. env = XDG_CURRENT_DESKTOP,Hyprland
  117. env = XDG_SESSION_TYPE,wayland
  118. env = XDG_SESSION_DESKTOP,Hyprland
  119.  
  120. #▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖ ▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▄▄▄▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▄▄▄▖ ▗▄▄▖
  121. # █ ▐▌ ▐▌▐▌ ▐▛▚▞▜▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ █ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌
  122. # █ ▐▛▀▜▌▐▛▀▀▘▐▌ ▐▌▐▛▀▀▘ ▐▌ ▐▌▐▛▀▜▌▐▛▀▚▖ █ ▐▛▀▜▌▐▛▀▚▖▐▌ ▐▛▀▀▘ ▝▀▚▖
  123. # █ ▐▌ ▐▌▐▙▄▄▖▐▌ ▐▌▐▙▄▄▖ ▝▚▞▘ ▐▌ ▐▌▐▌ ▐▌▗▄█▄▖▐▌ ▐▌▐▙▄▞▘▐▙▄▄▖▐▙▄▄▖▗▄▄▞▘
  124.  
  125. env = XCURSOR_THEME,breeze_cursors
  126. env = XCURSOR_SIZE,24
  127. env = HYPRCURSOR_THEME,breeze_cursors
  128. env = HYPRCURSOR_SIZE,24
  129. env = QT_QPA_PLATFORM,wayland;xcb
  130. env = QT_QPA_PLATFORMTHEME,qt6ct
  131. env = GTK_THEME,Breeze-Dark
  132. env = GTK_CURSOR_THEME,breeze_cursors'
  133. env = GDK_BACKEND,wayland,x11,*
  134.  
  135. #▗▖ ▗▖▗▖ ▗▖▗▄▄▄▖▗▄▄▄ ▗▄▄▄▖ ▗▄▖ ▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▄▄▄▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▄▄▄▖ ▗▄▄▖
  136. #▐▛▚▖▐▌▐▌ ▐▌ █ ▐▌ █ █ ▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ █ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌
  137. #▐▌ ▝▜▌▐▌ ▐▌ █ ▐▌ █ █ ▐▛▀▜▌ ▐▌ ▐▌▐▛▀▜▌▐▛▀▚▖ █ ▐▛▀▜▌▐▛▀▚▖▐▌ ▐▛▀▀▘ ▝▀▚▖
  138. #▐▌ ▐▌ ▝▚▞▘ ▗▄█▄▖▐▙▄▄▀▗▄█▄▖▐▌ ▐▌ ▝▚▞▘ ▐▌ ▐▌▐▌ ▐▌▗▄█▄▖▐▌ ▐▌▐▙▄▞▘▐▙▄▄▖▐▙▄▄▖▗▄▄▞▘
  139.  
  140. # Wiki
  141. env = LIBVA_DRIVER_NAME,nvidia
  142. env = GBM_BACKEND,nvidia-drm
  143. env = __GLX_VENDOR_LIBRARY_NAME,nvidia
  144. #env = __GL_GSYNC_ALLOWED,1
  145.  
  146. # Wiki flickering Electron / CEF apps
  147. env = ELECTRON_OZONE_PLATFORM_HINT,x11 # or auto
  148. # try this if app flickers: --disable-gpu-compositing
  149. debug {
  150. damage_tracking = 0
  151. }
  152.  
  153. # Wiki Firefox crash
  154. env = NVD_BACKEND,direct
  155.  
  156. cursor {
  157. no_hardware_cursors = false
  158. use_cpu_buffer = true
  159. }
  160.  
  161. #▗▄▄▄ ▗▄▄▄▖▗▄▄▄▖ ▗▄▖ ▗▖ ▗▖▗▖ ▗▄▄▄▖ ▗▄▄▖ ▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▖ ▗▖ ▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▄▄▄▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▄▄▄▖ ▗▄▄▖
  162. #▐▌ █▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ █ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▛▚▞▜▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ █ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌
  163. #▐▌ █▐▛▀▀▘▐▛▀▀▘▐▛▀▜▌▐▌ ▐▌▐▌ █ ▐▛▀▘ ▐▛▀▚▖▐▌ ▐▌▐▌▝▜▌▐▛▀▚▖▐▛▀▜▌▐▌ ▐▌ ▐▌ ▐▌▐▛▀▜▌▐▛▀▚▖ █ ▐▛▀▜▌▐▛▀▚▖▐▌ ▐▛▀▀▘ ▝▀▚▖
  164. #▐▙▄▄▀▐▙▄▄▖▐▌ ▐▌ ▐▌▝▚▄▞▘▐▙▄▄▖█ ▐▌ ▐▌ ▐▌▝▚▄▞▘▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▝▚▞▘ ▐▌ ▐▌▐▌ ▐▌▗▄█▄▖▐▌ ▐▌▐▙▄▞▘▐▙▄▄▖▐▙▄▄▖▗▄▄▞▘
  165.  
  166. env = BROWSER,firefox
  167. env = TERMINAL,kitty
  168. env = EDITOR,nvim
  169.  
  170. #█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
  171.  
  172. #██╗ ██╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗ █████╗ ██████╗███████╗ ██████╗ ██████╗ ███╗ ██╗███████╗██╗ ██████╗
  173. #██║ ██║██╔═══██╗██╔══██╗██║ ██╔╝██╔════╝██╔══██╗██╔══██╗██╔════╝██╔════╝ ██╔════╝██╔═══██╗████╗ ██║██╔════╝██║██╔════╝
  174. #██║ █╗ ██║██║ ██║██████╔╝█████╔╝ ███████╗██████╔╝███████║██║ █████╗ ██║ ██║ ██║██╔██╗ ██║█████╗ ██║██║ ███╗
  175. #██║███╗██║██║ ██║██╔══██╗██╔═██╗ ╚════██║██╔═══╝ ██╔══██║██║ ██╔══╝ ██║ ██║ ██║██║╚██╗██║██╔══╝ ██║██║ ██║
  176. #╚███╔███╔╝╚██████╔╝██║ ██║██║ ██╗███████║██║ ██║ ██║╚██████╗███████╗ ╚██████╗╚██████╔╝██║ ╚████║██║ ██║╚██████╔╝
  177. # ╚══╝╚══╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝
  178.  
  179.  
  180.  
  181. #▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖
  182. #▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌▗▞▘▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌
  183. #▐▌ ▐▌▐▌ ▐▌▐▛▀▚▖▐▛▚▖ ▝▀▚▖▐▛▀▘ ▐▛▀▜▌▐▌ ▐▛▀▀▘ ▝▀▚▖
  184. #▐▙█▟▌▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘▐▌ ▐▌ ▐▌▝▚▄▄▖▐▙▄▄▖▗▄▄▞▘
  185.  
  186. workspace = 1, monitor:DP-2, default:true
  187. workspace = 2, monitor:DP-2
  188. workspace = 3, monitor:DP-3
  189. workspace = 4, monitor:DP-3
  190. #▗▖ ▗▄▖ ▗▄▖ ▗▖ ▗▖ ▗▄▖ ▗▖ ▗▖▗▄▄▄ ▗▄▄▄▖▗▄▄▄▖▗▄▄▄▖▗▖
  191. #▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌▗▞▘ ▐▌ ▐▌▐▛▚▖▐▌▐▌ █ ▐▌ ▐▌ ▐▌ ▐▌
  192. #▐▌ ▐▌ ▐▌▐▌ ▐▌▐▛▚▖ ▐▛▀▜▌▐▌ ▝▜▌▐▌ █ ▐▛▀▀▘▐▛▀▀▘▐▛▀▀▘▐▌
  193. #▐▙▄▄▖▝▚▄▞▘▝▚▄▞▘▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▙▄▄▀ ▐▌ ▐▙▄▄▖▐▙▄▄▖▐▙▄▄▖
  194.  
  195. # Refer to https://wiki.hyprland.org/Configuring/Variables/
  196.  
  197. # _
  198. # __ _ ___ _ __ ___ _ __ __ _| |
  199. # / _` |/ _ \ '_ \ / _ \ '__/ _` | |
  200. #| (_| | __/ | | | __/ | | (_| | |
  201. # \__, |\___|_| |_|\___|_| \__,_|_|
  202. # |___/
  203.  
  204. # https://wiki.hyprland.org/Configuring/Variables/#general
  205.  
  206. general {
  207. gaps_in = 4
  208. gaps_out = 5
  209. border_size = 2
  210.  
  211. # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
  212. col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
  213. col.inactive_border = rgba(595959aa)
  214.  
  215. # Set to true enable resizing windows by clicking and dragging on borders and gaps
  216. resize_on_border = false
  217.  
  218. # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
  219. allow_tearing = true
  220. layout = dwindle
  221. }
  222.  
  223. # _ _ _
  224. # __| | ___ ___ ___ _ __ __ _| |_(_) ___ _ __
  225. # / _` |/ _ \/ __/ _ \| '__/ _` | __| |/ _ \| '_ \
  226. #| (_| | __/ (_| (_) | | | (_| | |_| | (_) | | | |
  227. # \__,_|\___|\___\___/|_| \__,_|\__|_|\___/|_| |_|
  228.  
  229. # https://wiki.hyprland.org/Configuring/Variables/#decoration
  230.  
  231. decoration {
  232. rounding = 5
  233.  
  234. # Change transparency of focused and unfocused windows
  235. active_opacity = 1.0
  236. inactive_opacity = 0.98
  237. dim_inactive = true
  238. dim_strength = 0.15
  239.  
  240. shadow {
  241. enabled = true
  242. range = 8
  243. render_power = 3
  244. color = rgba(1a1a1aee)
  245. }
  246. # https://wiki.hyprland.org/Configuring/Variables/#blur
  247.  
  248. blur {
  249. enabled = true
  250. size = 2
  251. passes = 3
  252. noise = 0.01
  253. vibrancy = 0.2
  254. contrast = 0.7
  255. }
  256. }
  257.  
  258. # _ _ _
  259. # __ _ _ __ (_)_ __ ___ __ _| |_(_) ___ _ __ ___
  260. # / _` | '_ \| | '_ ` _ \ / _` | __| |/ _ \| '_ \/ __|
  261. #| (_| | | | | | | | | | | (_| | |_| | (_) | | | \__ \
  262. # \__,_|_| |_|_|_| |_| |_|\__,_|\__|_|\___/|_| |_|___/
  263.  
  264. # https://wiki.hyprland.org/Configuring/Variables/#animations
  265.  
  266. animations {
  267. enabled = true
  268.  
  269. # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
  270.  
  271. bezier = myBezier, 0.05, 0.9, 0.1, 1.05
  272. bezier = Epic, 0.165, 0.84, 0.44, 1
  273.  
  274. animation = windows, 1, 3, Epic, popin 30%
  275. animation = windowsOut, 1, 5, Epic, popin 30%
  276. animation = border, 1, 10, default
  277. animation = borderangle, 1, 8, default
  278. animation = fade, 1, 3, default
  279. animation = workspaces, 1, 3, default
  280. }
  281.  
  282. # _ _ _ _
  283. # __| |_ _(_)_ __ __| | | ___
  284. # / _` \ \ /\ / / | '_ \ / _` | |/ _ \
  285. #| (_| |\ V V /| | | | | (_| | | __/
  286. # \__,_| \_/\_/ |_|_| |_|\__,_|_|\___|
  287.  
  288. # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
  289.  
  290. dwindle {
  291. pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
  292. preserve_split = true # You probably want this
  293. smart_split = false
  294. split_width_multiplier = 1.5
  295. }
  296.  
  297. # _
  298. # _ __ ___ __ _ ___| |_ ___ _ __
  299. #| '_ ` _ \ / _` / __| __/ _ \ '__|
  300. #| | | | | | (_| \__ \ || __/ |
  301. #|_| |_| |_|\__,_|___/\__\___|_|
  302.  
  303. # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
  304.  
  305. master {
  306. new_status = slave
  307. new_on_top = true
  308. allow_small_split = true
  309. }
  310.  
  311. # _
  312. # _ __ ___ (_)___ ___
  313. #| '_ ` _ \| / __|/ __|
  314. #| | | | | | \__ \ (__
  315. #|_| |_| |_|_|___/\___|
  316.  
  317. # https://wiki.hyprland.org/Configuring/Variables/#misc
  318.  
  319. misc {
  320. force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
  321. disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
  322. }
  323.  
  324. # __ _ _ __ ___ _ _ _ __
  325. # / _` | '__/ _ \| | | | '_ \
  326. #| (_| | | | (_) | |_| | |_) |
  327. # \__, |_| \___/ \__,_| .__/
  328. # |___/ |_|
  329.  
  330. group {
  331. col.border_active = 0xff9000ff
  332. groupbar {
  333. col.active = 0x789000ff
  334. col.inactive = 0x3c9000ff
  335. font_size = 10
  336. height = 12
  337. }
  338. }
  339.  
  340.  
  341. #██████████████████████████████████████
  342.  
  343. #██╗███╗ ██╗██████╗ ██╗ ██╗████████╗
  344. #██║████╗ ██║██╔══██╗██║ ██║╚══██╔══╝
  345. #██║██╔██╗ ██║██████╔╝██║ ██║ ██║
  346. #██║██║╚██╗██║██╔═══╝ ██║ ██║ ██║
  347. #██║██║ ╚████║██║ ╚██████╔╝ ██║
  348. #╚═╝╚═╝ ╚═══╝╚═╝ ╚═════╝ ╚═╝
  349.  
  350. # _ _
  351. #(_)_ __ _ __ _ _| |_
  352. #| | '_ \| '_ \| | | | __|
  353. #| | | | | |_) | |_| | |_
  354. #|_|_| |_| .__/ \__,_|\__|
  355. # |_|
  356.  
  357. # https://wiki.hyprland.org/Configuring/Variables/#input
  358.  
  359. input {
  360. kb_layout = se
  361. kb_variant =
  362. kb_model =
  363. kb_options =
  364. kb_rules =
  365.  
  366. numlock_by_default = true
  367.  
  368. follow_mouse = 1
  369.  
  370. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
  371.  
  372. touchpad {
  373. natural_scroll = false
  374. }
  375. }
  376.  
  377. # _
  378. # __ _ ___ ___| |_ _ _ _ __ ___ ___
  379. # / _` |/ _ \/ __| __| | | | '__/ _ \/ __|
  380. #| (_| | __/\__ \ |_| |_| | | | __/\__ \
  381. # \__, |\___||___/\__|\__,_|_| \___||___/
  382. # |___/
  383.  
  384. # https://wiki.hyprland.org/Configuring/Variables/#gestures
  385.  
  386. gestures {
  387. workspace_swipe = false
  388. }
  389.  
  390. # _ _
  391. # __| | _____ _(_) ___ ___ ___
  392. # / _` |/ _ \ \ / / |/ __/ _ \/ __|
  393. #| (_| | __/\ V /| | (_| __/\__ \
  394. # \__,_|\___| \_/ |_|\___\___||___/
  395.  
  396. # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
  397.  
  398. device {
  399. name = logitech-usb-receiver
  400. sensitivity = -0.35
  401. accel_profile = flat
  402. }
  403.  
  404. device {
  405. name = logitech-usb-receiver-keyboard-1
  406. sensitivity = -0.7
  407. }
  408.  
  409.  
  410. #████████████████████████████████████████████████████████████████████████████
  411.  
  412. #██╗ ██╗███████╗██╗ ██╗██████╗ ██╗███╗ ██╗██████╗ ██╗███╗ ██╗ ██████╗
  413. #██║ ██╔╝██╔════╝╚██╗ ██╔╝██╔══██╗██║████╗ ██║██╔══██╗██║████╗ ██║██╔════╝
  414. #█████╔╝ █████╗ ╚████╔╝ ██████╔╝██║██╔██╗ ██║██║ ██║██║██╔██╗ ██║██║ ███╗
  415. #██╔═██╗ ██╔══╝ ╚██╔╝ ██╔══██╗██║██║╚██╗██║██║ ██║██║██║╚██╗██║██║ ██║
  416. #██║ ██╗███████╗ ██║ ██████╔╝██║██║ ╚████║██████╔╝██║██║ ╚████║╚██████╔╝
  417. #╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═════╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝
  418.  
  419. # See https://wiki.hyprland.org/Configuring/Keywords/
  420.  
  421. # bindl -> do stuff even when locked
  422. # binde -> repeats when key is held
  423. # bindle -> Both of the above
  424. # bindm -> binds a mouse movement
  425.  
  426. # ▗▄▄▖▗▖ ▗▖▗▄▄▖ ▗▄▄▄▖▗▄▄▖ ▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖
  427. #▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌▗▞▘▐▌ ▝▚▞▘
  428. # ▝▀▚▖▐▌ ▐▌▐▛▀▘ ▐▛▀▀▘▐▛▀▚▖ ▐▛▚▖ ▐▛▀▀▘ ▐▌
  429. #▗▄▄▞▘▝▚▄▞▘▐▌ ▐▙▄▄▖▐▌ ▐▌ ▐▌ ▐▌▐▙▄▄▖ ▐▌
  430.  
  431. $mainMod = SUPER # Sets "Windows" key as main modifier
  432.  
  433. #▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄ ▗▄▖ ▗▖ ▗▖ ▗▖ ▗▖ ▗▄▖ ▗▖ ▗▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖
  434. #▐▌ ▐▌ █ ▐▛▚▖▐▌▐▌ █▐▌ ▐▌▐▌ ▐▌ ▐▛▚▞▜▌▐▌ ▐▌▐▛▚▖▐▌▐▌ ▐▌▐▌ ▐▌ ▐▛▚▞▜▌▐▌ ▐▛▚▖▐▌ █
  435. #▐▌ ▐▌ █ ▐▌ ▝▜▌▐▌ █▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌▐▛▀▜▌▐▌ ▝▜▌▐▛▀▜▌▐▌▝▜▌▐▛▀▀▘▐▌ ▐▌▐▛▀▀▘▐▌ ▝▜▌ █
  436. #▐▙█▟▌▗▄█▄▖▐▌ ▐▌▐▙▄▄▀▝▚▄▞▘▐▙█▟▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▝▚▄▞▘▐▙▄▄▖▐▌ ▐▌▐▙▄▄▖▐▌ ▐▌ █
  437.  
  438. # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
  439.  
  440. bind = $mainMod, C, killactive,
  441. bind = $mainMod, M, exit,
  442. bind = $mainMod, V, togglefloating,
  443. bind = $mainMod, F, fullscreen
  444.  
  445. #▗▄▄▄ ▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄ ▗▖ ▗▄▄▄▖
  446. #▐▌ █▐▌ ▐▌ █ ▐▛▚▖▐▌▐▌ █▐▌ ▐▌
  447. #▐▌ █▐▌ ▐▌ █ ▐▌ ▝▜▌▐▌ █▐▌ ▐▛▀▀▘
  448. #▐▙▄▄▀▐▙█▟▌▗▄█▄▖▐▌ ▐▌▐▙▄▄▀▐▙▄▄▖▐▙▄▄▖
  449.  
  450. bind = $mainMod, P, pseudo,
  451. bind = $mainMod, G, togglesplit,
  452.  
  453. #▗▖ ▗▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖▗▄▄▄▖▗▄▄▖
  454. #▐▛▚▞▜▌▐▌ ▐▌▐▌ █ ▐▌ ▐▌ ▐▌
  455. #▐▌ ▐▌▐▛▀▜▌ ▝▀▚▖ █ ▐▛▀▀▘▐▛▀▚▖
  456. #▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘ █ ▐▙▄▄▖▐▌ ▐▌
  457.  
  458. bind = $mainMod, D, layoutmsg, addmaster
  459. bind = $mainMod ALT, D, layoutmsg, removemaster
  460. bind = $mainMod SHIFT, D, layoutmsg, swapwithmaster
  461.  
  462. #▗▖ ▗▖ ▗▄▖ ▗▖ ▗▖▗▄▄▄▖ ▗▄▄▄▖ ▗▄▖ ▗▄▄▖▗▖ ▗▖ ▗▄▄▖
  463. #▐▛▚▞▜▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌ ▐▌▐▌
  464. #▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▛▀▀▘ ▐▛▀▀▘▐▌ ▐▌▐▌ ▐▌ ▐▌ ▝▀▚▖
  465. #▐▌ ▐▌▝▚▄▞▘ ▝▚▞▘ ▐▙▄▄▖ ▐▌ ▝▚▄▞▘▝▚▄▄▖▝▚▄▞▘▗▄▄▞▘
  466.  
  467. bind = $mainMod, h, movefocus, l
  468. bind = $mainMod, l, movefocus, r
  469. bind = $mainMod, k, movefocus, u
  470. bind = $mainMod, j, movefocus, d
  471.  
  472. bind = $mainMod, left, movefocus, l
  473. bind = $mainMod, right, movefocus, r
  474. bind = $mainMod, up, movefocus, u
  475. bind = $mainMod, down, movefocus, d
  476.  
  477. bind = $mainMod, code:94, movefocus, r
  478.  
  479.  
  480. #▗▖ ▗▖ ▗▄▖ ▗▖ ▗▖▗▄▄▄▖ ▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄ ▗▄▖ ▗▖ ▗▖
  481. #▐▛▚▞▜▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ █ ▐▛▚▖▐▌▐▌ █▐▌ ▐▌▐▌ ▐▌
  482. #▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▛▀▀▘ ▐▌ ▐▌ █ ▐▌ ▝▜▌▐▌ █▐▌ ▐▌▐▌ ▐▌
  483. #▐▌ ▐▌▝▚▄▞▘ ▝▚▞▘ ▐▙▄▄▖ ▐▙█▟▌▗▄█▄▖▐▌ ▐▌▐▙▄▄▀▝▚▄▞▘▐▙█▟▌
  484.  
  485. bind = $mainMod SHIFT, h, movewindow, l
  486. bind = $mainMod SHIFT, l, movewindow, r
  487. bind = $mainMod SHIFT, k, movewindow, u
  488. bind = $mainMod SHIFT, j, movewindow, d
  489.  
  490. bind = $mainMod SHIFT, left, movewindow, l
  491. bind = $mainMod SHIFT, right, movewindow, r
  492. bind = $mainMod SHIFT, up, movewindow, u
  493. bind = $mainMod SHIFT, down, movewindow, d
  494.  
  495. # Move to left or right workspace
  496.  
  497. bind = $mainMod SHIFT, Z, movetoworkspace, r-1
  498. bind = $mainMod SHIFT, X, movetoworkspace, r+1
  499.  
  500. # Mouse move
  501.  
  502. bindm = $mainMod, mouse:272, movewindow
  503.  
  504. #▗▄▄▖ ▗▄▄▄▖ ▗▄▄▖▗▄▄▄▖▗▄▄▄▄▖▗▄▄▄▖ ▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄ ▗▄▖ ▗▖ ▗▖
  505. #▐▌ ▐▌▐▌ ▐▌ █ ▗▞▘▐▌ ▐▌ ▐▌ █ ▐▛▚▖▐▌▐▌ █▐▌ ▐▌▐▌ ▐▌
  506. #▐▛▀▚▖▐▛▀▀▘ ▝▀▚▖ █ ▗▞▘ ▐▛▀▀▘ ▐▌ ▐▌ █ ▐▌ ▝▜▌▐▌ █▐▌ ▐▌▐▌ ▐▌
  507. #▐▌ ▐▌▐▙▄▄▖▗▄▄▞▘▗▄█▄▖▐▙▄▄▄▖▐▙▄▄▖ ▐▙█▟▌▗▄█▄▖▐▌ ▐▌▐▙▄▄▀▝▚▄▞▘▐▙█▟▌
  508.  
  509. binde = $mainMod CTRL, h, resizeactive, -35 0
  510. binde = $mainMod CTRL, l, resizeactive, 35 0
  511. binde = $mainMod CTRL, k, resizeactive, 0 -35
  512. binde = $mainMod CTRL, j, resizeactive, 0 35
  513.  
  514. binde = $mainMod CTRL, left, resizeactive, -35 0
  515. binde = $mainMod CTRL, right, resizeactive, 35 0
  516. binde = $mainMod CTRL, up, resizeactive, 0 -35
  517. binde = $mainMod CTRL, down, resizeactive, 0 35
  518.  
  519. # Resize to full workspace
  520.  
  521. bind = $mainMod, tab, exec, hyprctl dispatch fullscreen 1
  522.  
  523. # Mouse resize
  524.  
  525. bindm = $mainMod, mouse:273, resizewindow
  526.  
  527. # ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▖ ▗▖▗▄▄▖
  528. #▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌
  529. #▐▌▝▜▌▐▛▀▚▖▐▌ ▐▌▐▌ ▐▌▐▛▀▘
  530. #▝▚▄▞▘▐▌ ▐▌▝▚▄▞▘▝▚▄▞▘▐▌
  531.  
  532. bind = $mainMod, B, togglegroup
  533. bind = ALT, TAB, changegroupactive
  534. bind = $mainMod alt, B ,moveoutofgroup
  535.  
  536. #▗▖ ▗▖ ▗▄▖ ▗▖ ▗▖▗▄▄▄▖ ▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖▗▄▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▖ ▗▖▗▄▄▖
  537. #▐▛▚▞▜▌▐▌ ▐▌▐▌ ▐▌▐▌ █ ▐▛▚▖▐▌ █ ▐▌ ▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌
  538. #▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▛▀▀▘ █ ▐▌ ▝▜▌ █ ▐▌ ▐▌ ▐▌▝▜▌▐▛▀▚▖▐▌ ▐▌▐▌ ▐▌▐▛▀▘
  539. #▐▌ ▐▌▝▚▄▞▘ ▝▚▞▘ ▐▙▄▄▖ ▗▄█▄▖▐▌ ▐▌ █ ▝▚▄▞▘ ▝▚▄▞▘▐▌ ▐▌▝▚▄▞▘▝▚▄▞▘▐▌
  540.  
  541. bind = $mainMod ALT, left, moveintogroup, l
  542. bind = $mainMod ALT, right, moveintogroup, r
  543. bind = $mainMod ALT, up, moveintogroup, u
  544. bind = $mainMod ALT, down, moveintogroup, d
  545.  
  546. bind = $mainMod ALT, h, moveintogroup, l
  547. bind = $mainMod ALT, l, moveintogroup, r
  548. bind = $mainMod ALT, k, moveintogroup, u
  549. bind = $mainMod ALT, j, moveintogroup, d
  550.  
  551. # ▗▄▄▖▗▖ ▗▖▗▄▄▄▖▗▄▄▄▖▗▄▄▖▗▖ ▗▖ ▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖
  552. #▐▌ ▐▌ ▐▌ █ █ ▐▌ ▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌▗▞▘▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌
  553. # ▝▀▚▖▐▌ ▐▌ █ █ ▐▌ ▐▛▀▜▌ ▐▌ ▐▌▐▌ ▐▌▐▛▀▚▖▐▛▚▖ ▝▀▚▖▐▛▀▘ ▐▛▀▜▌▐▌ ▐▛▀▀▘ ▝▀▚▖
  554. #▗▄▄▞▘▐▙█▟▌▗▄█▄▖ █ ▝▚▄▄▖▐▌ ▐▌ ▐▙█▟▌▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘▐▌ ▐▌ ▐▌▝▚▄▄▖▐▙▄▄▖▗▄▄▞▘
  555.  
  556. # Switch to left and right
  557.  
  558. bind = SUPER, Z, workspace, r-1
  559. bind = SUPER, X, workspace, r+1
  560.  
  561. # Switch to specific
  562.  
  563. bind = $mainMod, 1, workspace, 1
  564. bind = $mainMod, 2, workspace, 2
  565. bind = $mainMod, 3, workspace, 3
  566. bind = $mainMod, 4, workspace, 4
  567. bind = $mainMod, 5, workspace, 5
  568. bind = $mainMod, 6, workspace, 6
  569. bind = $mainMod, 7, workspace, 7
  570. bind = $mainMod, 8, workspace, 8
  571. bind = $mainMod, 9, workspace, 9
  572. bind = $mainMod, 0, workspace, 10
  573.  
  574. # ▗▄▄▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▖ ▗▖ ▗▄▄▄▖▗▖ ▗▖▗▄▄▖ ▗▄▖ ▗▖ ▗▖ ▗▄▄▖▗▖ ▗▖ ▗▖ ▗▖▗▄▄▄▖ ▗▄▄▖▗▄▄▄▖▗▄▄▖ ▗▖ ▗▄▄▄▖ ▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖
  575. #▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ █ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌ ▐▌ █ ▐▌ █ ▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌▗▞▘▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌
  576. # ▝▀▚▖▐▌ ▐▛▀▚▖▐▌ ▐▌▐▌ ▐▌ █ ▐▛▀▜▌▐▛▀▚▖▐▌ ▐▌▐▌ ▐▌▐▌▝▜▌▐▛▀▜▌ ▐▌ ▐▌ █ ▝▀▚▖ █ ▐▛▀▚▖▐▌ ▐▛▀▀▘ ▐▌ ▐▌▐▌ ▐▌▐▛▀▚▖▐▛▚▖ ▝▀▚▖▐▛▀▘ ▐▛▀▜▌▐▌ ▐▛▀▀▘ ▝▀▚▖
  577. #▗▄▄▞▘▝▚▄▄▖▐▌ ▐▌▝▚▄▞▘▐▙▄▄▖▐▙▄▄▖ █ ▐▌ ▐▌▐▌ ▐▌▝▚▄▞▘▝▚▄▞▘▝▚▄▞▘▐▌ ▐▌ ▝▚▞▘ ▗▄█▄▖▗▄▄▞▘▗▄█▄▖▐▙▄▞▘▐▙▄▄▖▐▙▄▄▖ ▐▙█▟▌▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘▐▌ ▐▌ ▐▌▝▚▄▄▖▐▙▄▄▖▗▄▄▞▘
  578.  
  579. bind = $mainMod, mouse_down, workspace, e+1
  580. bind = $mainMod, mouse_up, workspace, e-1
  581.  
  582. #▗▖ ▗▖ ▗▄▖ ▗▖ ▗▖▗▄▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄▖ ▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄ ▗▄▖ ▗▖ ▗▖ ▗▄▄▄▖▗▄▖ ▗▄▖ ▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖
  583. #▐▛▚▞▜▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌▐▌ █ █ ▐▌ ▐▌▐▌ ▐▌ ▐▌ █ ▐▛▚▖▐▌▐▌ █▐▌ ▐▌▐▌ ▐▌ █ ▐▌ ▐▌ ▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌▗▞▘▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌
  584. #▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▛▀▀▘ ▐▛▀▜▌▐▌ █ █ ▐▌ ▐▌▐▛▀▀▘ ▐▌ ▐▌ █ ▐▌ ▝▜▌▐▌ █▐▌ ▐▌▐▌ ▐▌ █ ▐▌ ▐▌ ▐▛▀▜▌ ▐▌ ▐▌▐▌ ▐▌▐▛▀▚▖▐▛▚▖ ▝▀▚▖▐▛▀▘ ▐▛▀▜▌▐▌ ▐▛▀▀▘
  585. #▐▌ ▐▌▝▚▄▞▘ ▝▚▞▘ ▐▙▄▄▖ ▐▌ ▐▌▝▚▄▄▖ █ ▗▄█▄▖ ▝▚▞▘ ▐▙▄▄▖ ▐▙█▟▌▗▄█▄▖▐▌ ▐▌▐▙▄▄▀▝▚▄▞▘▐▙█▟▌ █ ▝▚▄▞▘ ▐▌ ▐▌ ▐▙█▟▌▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘▐▌ ▐▌ ▐▌▝▚▄▄▖▐▙▄▄▖
  586.  
  587. bind = $mainMod SHIFT, 1, movetoworkspace, 1
  588. bind = $mainMod SHIFT, 2, movetoworkspace, 2
  589. bind = $mainMod SHIFT, 3, movetoworkspace, 3
  590. bind = $mainMod SHIFT, 4, movetoworkspace, 4
  591. bind = $mainMod SHIFT, 5, movetoworkspace, 5
  592. bind = $mainMod SHIFT, 6, movetoworkspace, 6
  593. bind = $mainMod SHIFT, 7, movetoworkspace, 7
  594. bind = $mainMod SHIFT, 8, movetoworkspace, 8
  595. bind = $mainMod SHIFT, 9, movetoworkspace, 9
  596. bind = $mainMod SHIFT, 0, movetoworkspace, 10
  597.  
  598. # ▗▄▄▖▗▄▄▖ ▗▄▄▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▖ ▗▖ ▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖
  599. #▐▌ ▐▌ ▐▌▐▌ ▐▌ █ ▐▌ ▐▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌▗▞▘▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌
  600. # ▝▀▚▖▐▛▀▘ ▐▛▀▀▘▐▌ █ ▐▛▀▜▌▐▌ ▐▌ ▐▌▐▌ ▐▌▐▛▀▚▖▐▛▚▖ ▝▀▚▖▐▛▀▘ ▐▛▀▜▌▐▌ ▐▛▀▀▘
  601. #▗▄▄▞▘▐▌ ▐▙▄▄▖▝▚▄▄▖▗▄█▄▖▐▌ ▐▌▐▙▄▄▖ ▐▙█▟▌▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘▐▌ ▐▌ ▐▌▝▚▄▄▖▐▙▄▄▖
  602.  
  603. bind = $mainMod, S, togglespecialworkspace, magic
  604. bind = $mainMod SHIFT, S, movetoworkspacesilent, special:magic
  605. bind = $mainMod , mouse:274, movetoworkspacesilent, r-0
  606.  
  607. # ▗▄▄▖▗▖ ▗▖ ▗▄▄▖▗▄▄▄▖▗▄▖ ▗▖ ▗▖ ▗▄▄▖ ▗▄▖ ▗▖ ▗▖▗▄▄▄▖▗▄▄▄▖ ▗▄▄▖ ▗▄▄▖
  608. #▐▌ ▐▌ ▐▌▐▌ █ ▐▌ ▐▌▐▛▚▞▜▌ ▐▌ ▐▌ ▐▌▐▛▚▖▐▌▐▌ █ ▐▌ ▐▌
  609. #▐▌ ▐▌ ▐▌ ▝▀▚▖ █ ▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌ ▐▌▐▌ ▝▜▌▐▛▀▀▘ █ ▐▌▝▜▌ ▝▀▚▖
  610. #▝▚▄▄▖▝▚▄▞▘▗▄▄▞▘ █ ▝▚▄▞▘▐▌ ▐▌ ▝▚▄▄▖▝▚▄▞▘▐▌ ▐▌▐▌ ▗▄█▄▖▝▚▄▞▘▗▄▄▞▘
  611.  
  612. # Desktop Program shortcuts
  613.  
  614. bind = $mainMod, Q, exec, $terminal
  615. bind = $mainMod, E, exec, $fileManager
  616. bind = $mainMod, W, exec, firefox --disable-gpu-compositing
  617.  
  618. bind = $mainMod SHIFT, Q, exec, [float; size 1200px 800px] $terminal
  619. bind = $mainMod SHIFT, E, exec, [float; size 1450px 800px] $fileManager
  620. bind = $mainMod SHIFT, W, exec, [float; size 1450px 800px] $browser
  621. # Desktop Utility shortcuts
  622.  
  623. bind = $mainMod, O, exec, pkill waybar || waybar
  624. bind = $mainMod, N, exec, swaync-client -t -sw
  625. bind = $mainMod alt, N, exec, swaync-client --close-all
  626. bind = $mainMod, code:60, exec, wofi-emoji
  627. #bind = CTRL alt, S, exec, grim -g "$(slurp -d)" - | wl-copy
  628. bind = CTRL alt, S, exec, flameshot gui
  629. #bind = Shift alt, S, exec, IMG=~/Bilder/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).png && grim -g "$(slurp)" $IMG && wl-copy < $IMG
  630. bind = $mainMod ctrl, V, exec, copyq show
  631.  
  632. # Lock desktop
  633.  
  634. bind = $mainMod, T, exec, grim -o DP-2 -l 0 /tmp/screenshot.png && grim -o DP-3 -l 0 /tmp/screenshot2.png && hyprlock
  635.  
  636. # Launcher shortcuts
  637.  
  638. bind = $mainMod, SPACE, exec, pkill rofi || rofi -show drun
  639. bind = alt, SPACE, exec, nwg-menu --fm dolphin --wm hyprland --term kitty
  640. bind = $mainMod, R, exec, $menu
  641.  
  642. # Media binding
  643.  
  644. # Media keys
  645.  
  646. bindle=, XF86AudioRaiseVolume, exec, vol --up
  647. bindle=, XF86AudioLowerVolume, exec, vol --down
  648. bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
  649. bindl=, XF86AudioPlay, exec, playerctl play-pause
  650. bindl=, XF86AudioNext, exec, playerctl next
  651. bindl=, XF86AudioPrev, exec, playerctl previous
  652.  
  653. # Normal keys
  654.  
  655. bindle = SUPER, pause, exec, playerctl play-pause
  656. bindle = SUPER, page_up, exec, playerctl next
  657. bindle = SUPER, page_down, exec, playerctl previous
  658.  
  659.  
  660. #██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
  661.  
  662. #██╗ ██╗██╗███╗ ██╗██████╗ ██████╗ ██╗ ██╗███████╗ █████╗ ███╗ ██╗██████╗ ██╗ ██╗ ██████╗ ██████╗ ██╗ ██╗███████╗██████╗ █████╗ ██████╗███████╗███████╗
  663. #██║ ██║██║████╗ ██║██╔══██╗██╔═══██╗██║ ██║██╔════╝ ██╔══██╗████╗ ██║██╔══██╗ ██║ ██║██╔═══██╗██╔══██╗██║ ██╔╝██╔════╝██╔══██╗██╔══██╗██╔════╝██╔════╝██╔════╝
  664. #██║ █╗ ██║██║██╔██╗ ██║██║ ██║██║ ██║██║ █╗ ██║███████╗ ███████║██╔██╗ ██║██║ ██║ ██║ █╗ ██║██║ ██║██████╔╝█████╔╝ ███████╗██████╔╝███████║██║ █████╗ ███████╗
  665. #██║███╗██║██║██║╚██╗██║██║ ██║██║ ██║██║███╗██║╚════██║ ██╔══██║██║╚██╗██║██║ ██║ ██║███╗██║██║ ██║██╔══██╗██╔═██╗ ╚════██║██╔═══╝ ██╔══██║██║ ██╔══╝ ╚════██║
  666. #╚███╔███╔╝██║██║ ╚████║██████╔╝╚██████╔╝╚███╔███╔╝███████║ ██║ ██║██║ ╚████║██████╔╝ ╚███╔███╔╝╚██████╔╝██║ ██║██║ ██╗███████║██║ ██║ ██║╚██████╗███████╗███████║
  667. # ╚══╝╚══╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚══╝╚══╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝╚══════╝
  668.  
  669. # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
  670. # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
  671.  
  672. # Examplepseudo windowrule v1
  673. # windowrule = float, ^(kitty)$
  674.  
  675. # Hyprland Rule for launching Dolphin with KDE environment
  676. # windowrulev2 = "XDG_CURRENT_DESKTOP=kde", "dolphin"
  677.  
  678. # Example windowrule v2
  679. # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
  680.  
  681. windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
  682.  
  683. #▗▖ ▗▖ ▗▄▖ ▗▄▄▖ ▗▖ ▗▖ ▗▄▄▖▗▄▄▖ ▗▄▖ ▗▄▄▖▗▄▄▄▖ ▗▄▄▖ ▗▖ ▗▖▗▖ ▗▄▄▄▖ ▗▄▄▖
  684. #▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌▗▞▘▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌
  685. #▐▌ ▐▌▐▌ ▐▌▐▛▀▚▖▐▛▚▖ ▝▀▚▖▐▛▀▘ ▐▛▀▜▌▐▌ ▐▛▀▀▘ ▐▛▀▚▖▐▌ ▐▌▐▌ ▐▛▀▀▘ ▝▀▚▖
  686. #▐▙█▟▌▝▚▄▞▘▐▌ ▐▌▐▌ ▐▌▗▄▄▞▘▐▌ ▐▌ ▐▌▝▚▄▄▖▐▙▄▄▖ ▐▌ ▐▌▝▚▄▞▘▐▙▄▄▖▐▙▄▄▖▗▄▄▞▘
  687.  
  688.  
  689.  
  690. #▗▖ ▗▖▗▄▄▄▖▗▖ ▗▖▗▄▄▄ ▗▄▖ ▗▖ ▗▖ ▗▄▄▖ ▗▄▄▖ ▗▄▖ ▗▄▄▖ ▗▄▄▄▖▗▄▄▖▗▄▄▄▖▗▄▄▄▖▗▄▄▄▖ ▗▄▄▖
  691. #▐▌ ▐▌ █ ▐▛▚▖▐▌▐▌ █▐▌ ▐▌▐▌ ▐▌ ▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌▐▌ ▐▌ ▐▌ █ █ ▐▌ ▐▌
  692. #▐▌ ▐▌ █ ▐▌ ▝▜▌▐▌ █▐▌ ▐▌▐▌ ▐▌ ▐▛▀▘ ▐▛▀▚▖▐▌ ▐▌▐▛▀▘ ▐▛▀▀▘▐▛▀▚▖ █ █ ▐▛▀▀▘ ▝▀▚▖
  693. #▐▙█▟▌▗▄█▄▖▐▌ ▐▌▐▙▄▄▀▝▚▄▞▘▐▙█▟▌ ▐▌ ▐▌ ▐▌▝▚▄▞▘▐▌ ▐▙▄▄▖▐▌ ▐▌ █ ▗▄█▄▖▐▙▄▄▖▗▄▄▞▘
  694.  
  695. # Move
  696.  
  697. windowrulev2 = move cursor -320 -115, title:^(Blåtandsenheter)
  698.  
  699. windowrulev2 = move cursor -100 -205, title:^(.*verksanslutningar)
  700.  
  701. windowrulev2 = move cursor -300 10, title:^(Volymkontroll)
  702.  
  703. windowrulev2 = move cursor, class:^(com.github.hluk.copyq)
  704.  
  705. # Float
  706.  
  707. #windowrule=float,^(.*.exe)$
  708.  
  709. #windowrule=float,^(steam_app_.*)$
  710.  
  711. #windowrule=float,^(steam_proton)$
  712.  
  713. windowrulev2 = float, class:^(com.github.hluk.copyq)
  714.  
  715. windowrulev2 = float, title:^(Blåtandsenheter)
  716.  
  717. windowrulev2 = float, title:^(.*verksanslutningar)
  718.  
  719. windowrulev2 = float, title:^(Volymkontroll)
  720.  
  721. # Nodim
  722.  
  723. windowrulev2 = nodim, title:^(KINGDOM.*)$
  724.  
  725. windowrulev2 = nodim, title:^(TA.*)$
  726.  
  727. windowrulev2 = nodim true override, class:^(firefox),title:(.*YouTube — Mozilla Firefox)$
  728.  
  729. windowrulev2 = nodim true override, class:^(firefox),title:(▶)(.*)$
  730.  
  731. windowrulev2 = nodim true override, class:^(firefox),title:(Disney+)$
  732.  
  733. windowrulev2 = nodim true override, class:^(firefox),title:(Netflix)$
  734.  
  735. # Opacity
  736.  
  737. windowrulev2 = opacity 1.0 1.0 override, class:^(firefox),title:(TA.*)$
  738.  
  739. windowrulev2 = opacity 1.0 1.0 override, class:^(firefox),title:(Netflix)$
  740.  
  741. windowrulev2 = opacity 1.0 1.0 override, class:^(firefox),title:(.*YouTube — Mozilla Firefox)$
  742.  
  743. windowrulev2 = opacity 1.0 1.0 override, class:^(firefox),title:(▶)(.*)$
  744.  
  745. windowrulev2 = opacity 1.0 1.0 override, class:^(firefox),title:(Disney+)$
  746.  
  747. windowrulev2 = opacity 1.0 1.0 override, class:^(vlc)$
  748.  
  749. # Xwayland
  750.  
  751. windowrulev2 = noblur, xwayland:1
  752. windowrulev2 = bordercolor rgb(00ffa5) rgb(00ff68), xwayland:1
  753. windowrulev2 = bordersize 3px, xwayland:1
  754.  
  755. # Fullscreen
  756.  
  757. windowrulev2 = fullscreen, title:^(Counter-Strike 2*)$
  758.  
  759. windowrulev2 = fullscreen, title:(RetroArch)
  760.  
  761.  
  762. # Size
  763.  
  764. windowrulev2 = size 510 525, class:^(com.github.hluk.copyq)
  765.  
  766. windowrulev2 = size 535 698, title:^(.*verksanslutningar)
  767.  
  768. windowrulev2 = size 818 685, title:^(Volymkontroll)
  769.  
  770. windowrulev2 = size 535 685, title:^(Blåtandsenheter)
  771.  
  772. windowrulev2 = size 1075 944 title:^(.*Skriv in namnet på filen du vill spara.*:)
  773.  
  774. windowrulev2 = size 1075 944 title:^(.*ppna fil — Kate)
  775.  
  776. # Idleinhibit
  777.  
  778. windowrulev2 = idleinhibit fullscreen, class:^(firefox)
  779.  
  780. #▗▄▄▄▖▗▖ ▗▖▗▖ ▗▖▗▄▄▄▖▗▄▄▄ ▗▄▄▄▖ ▗▄▖▗▄▄▄▖▗▄▄▄▖
  781. # █ ▐▛▚▞▜▌▐▛▚▞▜▌▐▌ ▐▌ █ █ ▐▌ ▐▌ █ ▐▌
  782. # █ ▐▌ ▐▌▐▌ ▐▌▐▛▀▀▘▐▌ █ █ ▐▛▀▜▌ █ ▐▛▀▀▘
  783. #▗▄█▄▖▐▌ ▐▌▐▌ ▐▌▐▙▄▄▖▐▙▄▄▀▗▄█▄▖▐▌ ▐▌ █ ▐▙▄▄▖
  784.  
  785. # Title
  786.  
  787. windowrulev2 = immediate, title:^(Minecraft.*)$
  788.  
  789. #windowrulev2 = immediate, title:^(Zelda 64: Recompiled*)$
  790.  
  791. #windowrulev2 = immediate, title:^(Age of Mythology: Retold*)$
  792.  
  793. #windowrulev2 = immediate, title:^(OpenGOAL - Jak 1*)$
  794.  
  795. #windowrulev2 = immediate, title:^(KINGDOM.*)$
  796.  
  797. windowrulev2 = immediate, title:^(Counter-Strike 2*)$
  798.  
  799. #windowrulev2 = immediate, title:^(RetroArch)
  800.  
  801. #windowrulev2 = immediate, title:^(Phasmophobia)
  802.  
  803. # Class
  804.  
  805. #windowrulev2 = immediate, class:^(gamescope)$
  806.  
  807. windowrulev2 = immediate, class:^(cs2)$
  808.  
  809. #windowrulev2 = immediate, class:^(steam_app_default)$
  810.  
  811. #windowrulev2 = immediate, class:^(steam_app_.*)$
  812.  
  813.  
  814.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement