Advertisement
Guest User

Untitled

a guest
Feb 12th, 2025
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.86 KB | None | 0 0
  1. # #######################################################################################
  2. # AUTOGENERATED HYPR CONFIG.
  3. # PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
  4. # OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
  5. # #######################################################################################
  6.  
  7. #autogenerated = 1 # 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.hyprland.org/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.hyprland.org/Configuring/Monitors/
  26. monitor= DP-2, [email protected], 0x0, 1
  27.  
  28.  
  29. #######################################################
  30. ### SCREENSHOOTING ###
  31. #######################################################
  32.  
  33. # Screenshot a window
  34. #bind = $mainMod, PRINT, exec, hyprshot -m window
  35. # Screenshot a monitor
  36. bind = , PRINT, exec, hyprshot -m output --clipboard-only
  37. # Screenshot a region
  38. bind = SHIFT, PRINT, exec, hyprshot -m region --clipboard-only
  39.  
  40. #######################################################
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47. #######################################################
  48. ### XDPH ENV ###
  49. #######################################################
  50.  
  51. env = XDG_CURRENT_DESKTOP, Hyprland
  52. env = XDG_SESSION_TYPE, wayland
  53. env = XDG_SESSION_DESKTOP, Hyprland
  54. exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
  55.  
  56. #######################################################
  57.  
  58.  
  59.  
  60.  
  61.  
  62. ###################
  63. ### MY PROGRAMS ###
  64. ###################
  65.  
  66. # See https://wiki.hyprland.org/Configuring/Keywords/
  67.  
  68. # Set programs that you use
  69. $terminal = xfce4-terminal
  70. $fileManager = thunar
  71. #$menu = j4-dmenu-desktop
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79. #################
  80. ### AUTOSTART ###
  81. #################
  82.  
  83. # Autostart necessary processes (like notifications daemons, status bars, etc.)
  84. # Or execute your favorite apps at launch like this:
  85.  
  86. # exec-once = $terminal
  87. # exec-once = nm-applet &
  88. # exec-once = waybar & hyprpaper & firefox
  89. # exec-once = $terminal
  90. # exec-once = nm-applet &
  91. # exec-once = waybar & hyprpaper & firefox
  92. exec-once = hyprpaper
  93. exec-once = ~/.config/hypr/xdg-portal-hyprland
  94. exec-once = gentoo-pipewire-launcher
  95. exec-once = waybar
  96. exec-once = dunst
  97. exec-once = hyprctl setcursor rose-pine-hyprcursor 30
  98.  
  99.  
  100. #############################
  101. ### ENVIRONMENT VARIABLES ###
  102. #############################
  103.  
  104. # See https://wiki.hyprland.org/Configuring/Environment-variables/
  105.  
  106.  
  107.  
  108. env = XCURSOR_PATH=${XCURSOR_PATH}:~/.local/share/icons
  109. env = XCURSOR_SIZE,24
  110. env = XCURSOR_THEME,~/.local/share/icons/default
  111. env = HYPRCURSOR_SIZE,24
  112. env = HYPRCURSOR_THEME,rose-pine-hyprcursor
  113.  
  114.  
  115.  
  116. #####################
  117. ### LOOK AND FEEL ###
  118. ####################
  119.  
  120. # Refer to https://wiki.hyprland.org/Configuring/Variables/
  121.  
  122. # https://wiki.hyprland.org/Configuring/Variables/#general
  123. general {
  124. gaps_in = 5
  125. gaps_out = 20
  126.  
  127. border_size = 1
  128.  
  129. # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
  130. # col.active_border = rgba(841aeeee) rgba(0d0dafee) 45deg
  131.  
  132. col.active_border = rgba(000000ee) rgba(000000ee) 45deg
  133.  
  134. col.inactive_border = rgba(595959aa)
  135.  
  136. # Set to true enable resizing windows by clicking and dragging on borders and gaps
  137. resize_on_border = false
  138.  
  139. # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
  140. allow_tearing = false
  141.  
  142. layout = dwindle
  143. }
  144.  
  145. # https://wiki.hyprland.org/Configuring/Variables/#decoration
  146. decoration {
  147. rounding = 0
  148.  
  149. # Change transparency of focused and unfocused windows
  150. active_opacity = 1.0
  151. inactive_opacity = 1.0
  152.  
  153. shadow {
  154. enabled = true
  155. range = 4
  156. render_power = 3
  157. color = rgba(1a1a1aee)
  158. }
  159.  
  160. # https://wiki.hyprland.org/Configuring/Variables/#blur
  161. blur {
  162. enabled = true
  163. size = 3
  164. passes = 1
  165.  
  166. vibrancy = 0.1696
  167. }
  168. }
  169.  
  170. # https://wiki.hyprland.org/Configuring/Variables/#animations
  171. animations {
  172. enabled = yes, please :)
  173.  
  174. # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
  175.  
  176. bezier = easeOutQuint,0.23,1,0.32,1
  177. bezier = easeInOutCubic,0.65,0.05,0.36,1
  178. bezier = linear,0,0,1,1
  179. bezier = almostLinear,0.5,0.5,0.75,1.0
  180. bezier = quick,0.15,0,0.1,1
  181.  
  182. animation = global, 1, 10, default
  183. animation = border, 1, 5.39, easeOutQuint
  184. animation = windows, 1, 4.79, easeOutQuint
  185. animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
  186. animation = windowsOut, 1, 1.49, linear, popin 87%
  187. animation = fadeIn, 1, 1.73, almostLinear
  188. animation = fadeOut, 1, 1.46, almostLinear
  189. animation = fade, 1, 3.03, quick
  190. animation = layers, 1, 3.81, easeOutQuint
  191. animation = layersIn, 1, 4, easeOutQuint, fade
  192. animation = layersOut, 1, 1.5, linear, fade
  193. animation = fadeLayersIn, 1, 1.79, almostLinear
  194. animation = fadeLayersOut, 1, 1.39, almostLinear
  195. animation = workspaces, 1, 1.94, almostLinear, fade
  196. animation = workspacesIn, 1, 1.21, almostLinear, fade
  197. animation = workspacesOut, 1, 1.94, almostLinear, fade
  198. }
  199.  
  200. # Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
  201. # "Smart gaps" / "No gaps when only"
  202. # uncomment all if you wish to use that.
  203. # workspace = w[tv1], gapsout:0, gapsin:0
  204. # workspace = f[1], gapsout:0, gapsin:0
  205. # windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
  206. # windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
  207. # windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
  208. # windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
  209.  
  210. # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
  211. dwindle {
  212. pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
  213. preserve_split = true # You probably want this
  214. }
  215.  
  216. # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
  217. master {
  218. new_status = master
  219. }
  220.  
  221. # https://wiki.hyprland.org/Configuring/Variables/#misc
  222. misc {
  223. force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
  224. disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
  225. }
  226.  
  227.  
  228. #############
  229. ### INPUT ###
  230. #############
  231.  
  232. # https://wiki.hyprland.org/Configuring/Variables/#input
  233. input {
  234. kb_layout = es
  235. kb_variant =
  236. kb_model =
  237. kb_options =
  238. kb_rules =
  239.  
  240. follow_mouse = 1
  241.  
  242. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
  243.  
  244. touchpad {
  245. natural_scroll = false
  246. }
  247. }
  248.  
  249. # https://wiki.hyprland.org/Configuring/Variables/#gestures
  250. gestures {
  251. workspace_swipe = false
  252. }
  253.  
  254. # Example per-device config
  255. # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
  256. device {
  257. name = epic-mouse-v1
  258. sensitivity = -0.5
  259. }
  260.  
  261.  
  262. ###################
  263. ### KEYBINDINGS ###
  264. ###################
  265.  
  266. # See https://wiki.hyprland.org/Configuring/Keywords/
  267. $mainMod = SUPER # Sets "Windows" key as main modifier
  268.  
  269. # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
  270. bind = $mainMod, Q, exec, $terminal
  271. bind = $mainMod, C, killactive,
  272. bind = $mainMod, M, exit,
  273. bind = $mainMod, E, exec, $fileManager
  274. bind = $mainMod, V, togglefloating,
  275. bind = $mainMod, R, exec, $menu
  276. bind = $mainMod, P, pseudo, # dwindle
  277. bind = $mainMod, J, togglesplit, # dwindle
  278.  
  279. # Move focus with mainMod + arrow keys
  280. bind = $mainMod, left, movefocus, l
  281. bind = $mainMod, right, movefocus, r
  282. bind = $mainMod, up, movefocus, u
  283. bind = $mainMod, down, movefocus, d
  284.  
  285. # Switch workspaces with mainMod + [0-9]
  286. bind = $mainMod, 1, workspace, 1
  287. bind = $mainMod, 2, workspace, 2
  288. bind = $mainMod, 3, workspace, 3
  289. bind = $mainMod, 4, workspace, 4
  290. bind = $mainMod, 5, workspace, 5
  291. bind = $mainMod, 6, workspace, 6
  292. bind = $mainMod, 7, workspace, 7
  293. bind = $mainMod, 8, workspace, 8
  294. bind = $mainMod, 9, workspace, 9
  295. bind = $mainMod, 0, workspace, 10
  296.  
  297. # Move active window to a workspace with mainMod + SHIFT + [0-9]
  298. bind = $mainMod SHIFT, 1, movetoworkspace, 1
  299. bind = $mainMod SHIFT, 2, movetoworkspace, 2
  300. bind = $mainMod SHIFT, 3, movetoworkspace, 3
  301. bind = $mainMod SHIFT, 4, movetoworkspace, 4
  302. bind = $mainMod SHIFT, 5, movetoworkspace, 5
  303. bind = $mainMod SHIFT, 6, movetoworkspace, 6
  304. bind = $mainMod SHIFT, 7, movetoworkspace, 7
  305. bind = $mainMod SHIFT, 8, movetoworkspace, 8
  306. bind = $mainMod SHIFT, 9, movetoworkspace, 9
  307. bind = $mainMod SHIFT, 0, movetoworkspace, 10
  308.  
  309. # Example special workspace (scratchpad)
  310. bind = $mainMod, S, togglespecialworkspace, magic
  311. bind = $mainMod SHIFT, S, movetoworkspace, special:magic
  312.  
  313. # Scroll through existing workspaces with mainMod + scroll
  314. bind = $mainMod, mouse_down, workspace, e+1
  315. bind = $mainMod, mouse_up, workspace, e-1
  316.  
  317. # Move/resize windows with mainMod + LMB/RMB and dragging
  318. bindm = $mainMod, mouse:272, movewindow
  319. bindm = $mainMod, mouse:273, resizewindow
  320.  
  321. # Laptop multimedia keys for volume and LCD brightness
  322. bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
  323. bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
  324. bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
  325. bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
  326. bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
  327. bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
  328.  
  329. # Requires playerctl
  330. bindl = , XF86AudioNext, exec, playerctl next
  331. bindl = , XF86AudioPause, exec, playerctl play-pause
  332. bindl = , XF86AudioPlay, exec, playerctl play-pause
  333. bindl = , XF86AudioPrev, exec, playerctl previous
  334.  
  335.  
  336. # Bemenu
  337. bind = $mainMod, B, exec, j4-dmenu-desktop
  338.  
  339.  
  340.  
  341.  
  342.  
  343. ##############################
  344. ### WINDOWS AND WORKSPACES ###
  345. ##############################
  346.  
  347. # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
  348. # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
  349.  
  350. # Example windowrule v1
  351. # windowrule = float, ^(kitty)$
  352.  
  353. # Example windowrule v2
  354. # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
  355. # Ignore maximize requests from apps. You'll probably like this.
  356. windowrulev2 = suppressevent maximize, class:.*
  357.  
  358. # Fix some dragging issues with XWayland
  359. windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
  360.  
  361.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement