yOMOGI

Untitled

Aug 1st, 2025
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.31 KB | Software | 0 0
  1.  
  2. # #######################################################################################
  3. # AUTOGENERATED HYPRLAND CONFIG.
  4. # EDIT THIS CONFIG ACCORDING TO THE WIKI INSTRUCTIONS.
  5. # #######################################################################################
  6.  
  7. autogenerated = 0 # remove this line to remove the warning
  8.  
  9. # This is an example Hyprland config file.
  10. # Refer to the wiki for more information.
  11. # https://wiki.hypr.land/Configuring/
  12.  
  13. # Please note not all available settings / options are set here.
  14. # For a full list, see the wiki
  15.  
  16. # You can split this configuration into multiple files
  17. # Create your files separately and then link them to this file like this:
  18. # source = ~/.config/hypr/myColors.conf
  19.  
  20.  
  21. ################
  22. ### MONITORS ###
  23. ################
  24.  
  25. # See https://wiki.hypr.land/Configuring/Monitors/
  26. monitor= DP-2, 5120x1440@240, 0x0, 1, bitdepth, 10
  27.  
  28.  
  29. ###################
  30. ### MY PROGRAMS ###
  31. ###################
  32.  
  33. # See https://wiki.hypr.land/Configuring/Keywords/
  34.  
  35. # Set programs that you use
  36. $terminal = kitty
  37. $fileManager = dolphin
  38. $menu = wofi --show drun
  39.  
  40. #################
  41. ### AUTOSTART ###
  42. #################
  43.  
  44. # Autostart necessary processes (like notifications daemons, status bars, etc.)
  45. # Or execute your favorite apps at launch like this:
  46.  
  47. # exec-once = $terminal
  48. # exec-once = nm-applet &
  49. # exec-once = waybar & hyprpaper & firefox
  50. # exec-once = systemctl --user start hyprpolkitagent
  51. # exec-once = waybar
  52. # exec-once = wl-paste --type text --watch cliphist store # Stores only text data
  53. # exec-once = wl-paste --type image --watch cliphist store # Stores only image data
  54. # exec-once = discord
  55. # exec-once = steam
  56. # exec-once = hyprpaper
  57.  
  58. #############################
  59. ### ENVIRONMENT VARIABLES ###
  60. #############################
  61.  
  62. # See https://wiki.hypr.land/Configuring/Environment-variables/
  63.  
  64. env = XCURSOR_SIZE,48
  65. env = HYPRCURSOR_SIZE,48
  66. env = LIBVA_DRIVER_NAME,nvidia
  67. env = __GLX_VENDOR_LIBRARY_NAME,nvidia
  68. env = ELECTRON_OZONE_PLATFORM_HINT,auto
  69. env = HYPRSHOT_DIR=~/Screenshots/
  70. env = XDG_MENU_PREFIX,arch-
  71.  
  72. ###################
  73. ### PERMISSIONS ###
  74. ###################
  75.  
  76. # See https://wiki.hypr.land/Configuring/Permissions/
  77. # Please note permission changes here require a Hyprland restart and are not applied on-the-fly
  78. # for security reasons
  79.  
  80. # ecosystem {
  81. # enforce_permissions = 1
  82. # }
  83.  
  84. # permission = /usr/(bin|local/bin)/grim, screencopy, allow
  85. # permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
  86. # permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
  87.  
  88.  
  89. #####################
  90. ### LOOK AND FEEL ###
  91. #####################
  92.  
  93. # Refer to https://wiki.hypr.land/Configuring/Variables/
  94.  
  95. # https://wiki.hypr.land/Configuring/Variables/#general
  96. general {
  97. gaps_in = 5
  98. gaps_out = 20
  99.  
  100. border_size = 2
  101.  
  102. # https://wiki.hypr.land/Configuring/Variables/#variable-types for info about colors
  103. col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
  104. col.inactive_border = rgba(595959aa)
  105.  
  106. # Set to true enable resizing windows by clicking and dragging on borders and gaps
  107. resize_on_border = false
  108.  
  109. # Please see https://wiki.hypr.land/Configuring/Tearing/ before you turn this on
  110. allow_tearing = false
  111.  
  112. layout = dwindle
  113. }
  114.  
  115. # https://wiki.hypr.land/Configuring/Variables/#decoration
  116. decoration {
  117. rounding = 10
  118. rounding_power = 2
  119.  
  120. # Change transparency of focused and unfocused windows
  121. active_opacity = 1.0
  122. inactive_opacity = 1.0
  123.  
  124. shadow {
  125. enabled = true
  126. range = 4
  127. render_power = 3
  128. color = rgba(1a1a1aee)
  129. }
  130.  
  131. # https://wiki.hypr.land/Configuring/Variables/#blur
  132. blur {
  133. enabled = true
  134. size = 3
  135. passes = 1
  136.  
  137. vibrancy = 0.1696
  138. }
  139. }
  140.  
  141. # https://wiki.hypr.land/Configuring/Variables/#animations
  142. animations {
  143. enabled = yes, please :)
  144.  
  145. # Default animations, see https://wiki.hypr.land/Configuring/Animations/ for more
  146.  
  147. bezier = easeOutQuint,0.23,1,0.32,1
  148. bezier = easeInOutCubic,0.65,0.05,0.36,1
  149. bezier = linear,0,0,1,1
  150. bezier = almostLinear,0.5,0.5,0.75,1.0
  151. bezier = quick,0.15,0,0.1,1
  152.  
  153. animation = global, 1, 10, default
  154. animation = border, 1, 5.39, easeOutQuint
  155. animation = windows, 1, 4.79, easeOutQuint
  156. animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
  157. animation = windowsOut, 1, 1.49, linear, popin 87%
  158. animation = fadeIn, 1, 1.73, almostLinear
  159. animation = fadeOut, 1, 1.46, almostLinear
  160. animation = fade, 1, 3.03, quick
  161. animation = layers, 1, 3.81, easeOutQuint
  162. animation = layersIn, 1, 4, easeOutQuint, fade
  163. animation = layersOut, 1, 1.5, linear, fade
  164. animation = fadeLayersIn, 1, 1.79, almostLinear
  165. animation = fadeLayersOut, 1, 1.39, almostLinear
  166. animation = workspaces, 1, 1.94, almostLinear, fade
  167. animation = workspacesIn, 1, 1.21, almostLinear, fade
  168. animation = workspacesOut, 1, 1.94, almostLinear, fade
  169. }
  170.  
  171. # Ref https://wiki.hypr.land/Configuring/Workspace-Rules/
  172. # "Smart gaps" / "No gaps when only"
  173. # uncomment all if you wish to use that.
  174. # workspace = w[tv1], gapsout:0, gapsin:0
  175. # workspace = f[1], gapsout:0, gapsin:0
  176. # windowrule = bordersize 0, floating:0, onworkspace:w[tv1]
  177. # windowrule = rounding 0, floating:0, onworkspace:w[tv1]
  178. # windowrule = bordersize 0, floating:0, onworkspace:f[1]
  179. # windowrule = rounding 0, floating:0, onworkspace:f[1]
  180.  
  181. # See https://wiki.hypr.land/Configuring/Dwindle-Layout/ for more
  182. dwindle {
  183. pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
  184. preserve_split = true # You probably want this
  185. }
  186.  
  187. # See https://wiki.hypr.land/Configuring/Master-Layout/ for more
  188. master {
  189. new_status = master
  190. }
  191.  
  192. # https://wiki.hypr.land/Configuring/Variables/#misc
  193. misc {
  194. force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
  195. disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
  196. }
  197.  
  198.  
  199. #############
  200. ### INPUT ###
  201. #############
  202.  
  203. # https://wiki.hypr.land/Configuring/Variables/#input
  204. input {
  205. kb_layout = gb
  206. kb_variant =, qwerty
  207. kb_model =
  208. kb_options = grp:alt_shift_toggle
  209. kb_rules =
  210. numlock_by_default = true
  211. follow_mouse = 1
  212.  
  213. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
  214.  
  215. touchpad {
  216. natural_scroll = false
  217. }
  218. }
  219.  
  220. # https://wiki.hypr.land/Configuring/Variables/#gestures
  221. gestures {
  222. workspace_swipe = false
  223. }
  224.  
  225. # Example per-device config
  226. # See https://wiki.hypr.land/Configuring/Keywords/#per-device-input-configs for more
  227. device {
  228. name = epic-mouse-v1
  229. sensitivity = -0.5
  230. }
  231.  
  232.  
  233. ###################
  234. ### KEYBINDINGS ###
  235. ###################
  236.  
  237. # See https://wiki.hypr.land/Configuring/Keywords/
  238. $mainMod = SUPER # Sets "Windows" key as main modifier
  239.  
  240. # Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
  241. bind = $mainMod, Q, exec, $terminal
  242. bind = $mainMod, C, killactive,
  243. bind = $mainMod, M, exit,
  244. bind = $mainMod, E, exec, $fileManager
  245. bind = $mainMod, V, togglefloating,
  246. bind = $mainMod, R, exec, $menu
  247. bind = $mainMod, P, pseudo, # dwindle
  248. bind = $mainMod, J, togglesplit, # dwindle
  249. bind = $mainMod, F, exec, firefox
  250. bind = SUPER, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy
  251. bind = $mainMod, D, exec, discord
  252. bind = $mainMod, PRINT, exec, hyprshot -m window
  253. bind = , PRINT, exec, hyprshot -m output
  254. bind = $shiftMod, PRINT, exec, hyprshot -m region
  255.  
  256. # Move focus with mainMod + arrow keys
  257. bind = $mainMod, left, movefocus, l
  258. bind = $mainMod, right, movefocus, r
  259. bind = $mainMod, up, movefocus, u
  260. bind = $mainMod, down, movefocus, d
  261.  
  262. # Switch workspaces with mainMod + [0-9]
  263. bind = $mainMod, 1, workspace, 1
  264. bind = $mainMod, 2, workspace, 2
  265. bind = $mainMod, 3, workspace, 3
  266. bind = $mainMod, 4, workspace, 4
  267. bind = $mainMod, 5, workspace, 5
  268. bind = $mainMod, 6, workspace, 6
  269. bind = $mainMod, 7, workspace, 7
  270. bind = $mainMod, 8, workspace, 8
  271. bind = $mainMod, 9, workspace, 9
  272. bind = $mainMod, 0, workspace, 10
  273.  
  274. # Move active window to a workspace with mainMod + SHIFT + [0-9]
  275. bind = $mainMod SHIFT, 1, movetoworkspace, 1
  276. bind = $mainMod SHIFT, 2, movetoworkspace, 2
  277. bind = $mainMod SHIFT, 3, movetoworkspace, 3
  278. bind = $mainMod SHIFT, 4, movetoworkspace, 4
  279. bind = $mainMod SHIFT, 5, movetoworkspace, 5
  280. bind = $mainMod SHIFT, 6, movetoworkspace, 6
  281. bind = $mainMod SHIFT, 7, movetoworkspace, 7
  282. bind = $mainMod SHIFT, 8, movetoworkspace, 8
  283. bind = $mainMod SHIFT, 9, movetoworkspace, 9
  284. bind = $mainMod SHIFT, 0, movetoworkspace, 10
  285.  
  286. # Example special workspace (scratchpad)
  287. bind = $mainMod, S, togglespecialworkspace, magic
  288. bind = $mainMod SHIFT, S, movetoworkspace, special:magic
  289.  
  290. # Scroll through existing workspaces with mainMod + scroll
  291. bind = $mainMod, mouse_down, workspace, e+1
  292. bind = $mainMod, mouse_up, workspace, e-1
  293.  
  294. # Move/resize windows with mainMod + LMB/RMB and dragging
  295. bindm = $mainMod, mouse:272, movewindow
  296. bindm = $mainMod, mouse:273, resizewindow
  297.  
  298. # Laptop multimedia keys for volume and LCD brightness
  299. bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
  300. bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
  301. bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
  302. bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
  303. bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
  304. bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
  305.  
  306. # Requires playerctl
  307. bindl = , XF86AudioNext, exec, playerctl next
  308. bindl = , XF86AudioPause, exec, playerctl play-pause
  309. bindl = , XF86AudioPlay, exec, playerctl play-pause
  310. bindl = , XF86AudioPrev, exec, playerctl previous
  311.  
  312. ##############################
  313. ### WINDOWS AND WORKSPACES ###
  314. ##############################
  315.  
  316. # See https://wiki.hypr.land/Configuring/Window-Rules/ for more
  317. # See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
  318.  
  319. # Example windowrule
  320. # windowrule = float,class:^(kitty)$,title:^(kitty)$
  321.  
  322. # Ignore maximize requests from apps. You'll probably like this.
  323. windowrule = suppressevent maximize, class:.*
  324.  
  325. # Fix some dragging issues with XWayland
  326. windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
  327.  
Advertisement
Add Comment
Please, Sign In to add comment