omarplayz

Untitled

Apr 5th, 2025
4,541
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ##   _   _                  _                 _
  2. ##  | | | |_   _ _ __  _ __| | __ _ _ __   __| |
  3. ##  | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` |
  4. ##  |  _  | |_| | |_) | |  | | (_| | | | | (_| |
  5. ##  |_| |_|\__, | .__/|_|  |_|\__,_|_| |_|\__,_|
  6. ##         |___/|_|
  7. ##
  8. ##  By Pilk (2024)
  9. ##
  10.  
  11. # MONITORS #
  12.  
  13. monitor = , preferred, auto, 1
  14.  
  15. # MY PROGRAMS #
  16.  
  17. $terminal = foot
  18. $fileManager = nemo
  19. $menu = rofi -show drun -show-icons
  20. $browser = chromium
  21.  
  22. # AUTOSTART #
  23.  
  24. exec-once = waypaper --restore # Reloads last used wallpaper
  25. exec-once = swaync & waybar
  26. exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
  27. exec-once = clipse -listen
  28.  
  29. # ENVIRONMENT VARIABLES #
  30.  
  31. env = XCURSOR_SIZE,24
  32. env = HYPRCURSOR_SIZE,24
  33. env = HYPRCURSOR_THEME, Breeze
  34.  
  35. # LOOK AND FEEL
  36.  
  37. general {
  38.     gaps_in = 10
  39.     gaps_out = 20
  40.  
  41.     border_size = 0
  42.     col.active_border = rgb(03CDFF) rgb(A200FF) 45deg    
  43.     #col.inactive_border =
  44.     resize_on_border = false
  45.  
  46.     allow_tearing = true
  47.  
  48.     layout = dwindle
  49. }
  50.  
  51. decoration {
  52.     rounding = 20
  53.     active_opacity = 0.9
  54.     inactive_opacity = 0.7
  55.  
  56.     blur {
  57.  
  58.         enabled = true
  59.         size = 15
  60.         passes = 3
  61.         contrast = 1.5
  62.         vibrancy_darkness = 0.6
  63.         vibrancy = 1.396
  64.         new_optimizations = true
  65.         layerrule = blur, waybar
  66.         layerrule = ignorezero, waybar
  67.         layerrule = blur, rofi
  68.         layerrule = ignorezero, rofi
  69.         layerrule = blur, swaync
  70.         layerrule = ignorezero, swaync
  71.         windowrule = float, class:^(waybar)$
  72.         windowrule = dimaround, class:^(waybar)$
  73.         windowrule = float, class:^(rofi)$
  74.         # noise = 0.05
  75.         ignore_opacity = true
  76.     }
  77.  
  78.     shadow {
  79.  
  80.         enabled = true
  81.         range = 25
  82.         ignore_window = true
  83.         render_power = 20
  84.         color = rgb(000000)
  85.     }
  86.  
  87. }
  88.  
  89. animations {
  90.     enabled = true
  91.  
  92.     bezier = myBezier, 0.05, 0.9, 0.1, 1.05
  93.     animation = windows, 1, 7, myBezier, popin 10%
  94.     animation = windowsOut, 1, 7, default, popin 80%
  95.     animation = border, 1, 15, default
  96.     animation = borderangle, 1, 15, default
  97.     animation = fade, 1, 5, default
  98.     animation = workspaces, 1, 6, default
  99.     layerrule = animation slide, rofi
  100. }
  101.  
  102. dwindle {
  103.     pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
  104.     preserve_split = true # You probably want this
  105. }
  106.  
  107. master {
  108.     new_status = master
  109. }
  110.  
  111. misc {
  112.     force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
  113.     disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
  114. }
  115.  
  116. # INPUT #
  117.  
  118. input {
  119.     kb_layout = fr
  120.     kb_variant =
  121.     kb_model =
  122.     kb_options =
  123.     kb_rules =
  124.  
  125.     follow_mouse = 1
  126.  
  127.     sensitivity = -0.6 # -1.0 - 1.0, 0 means no modification.
  128.  
  129.     touchpad {
  130.         natural_scroll = false
  131.     }
  132. }
  133.  
  134. gestures {
  135.     workspace_swipe = false
  136. }
  137.  
  138. device {
  139.     name = epic-mouse-v1
  140.     sensitivity = -0.5
  141. }
  142.  
  143. # KEYBINDINGS #
  144.  
  145. $mainMod = SUPER # Sets "Windows" key as main modifier
  146. $Print = PRINT
  147.  
  148. bind = $mainMod, Q, exec, $terminal
  149. bind = $mainMod, C, killactive,
  150. bind = $mainMod, M, exec, wlogout
  151. bind = $mainMod, E, exec, $fileManager
  152. bind = $mainMod, V, togglefloating,
  153. bind = $mainMod, R, exec, $menu
  154. bind = $mainMod, P, pseudo, # dwindle
  155. bind = $mainMod, J, togglesplit, # dwindle
  156. bind = $mainMod, F, fullscreen
  157. bind = $mainMod, L, exec, hyprlock -c  ~/.config/hyprlock/hyprlock.conf
  158. bind = $mainMod, W, exec, waypaper
  159. bind = $mainMod + SHIFT, W, exec, waypaper --random
  160. bind = $mainMod, B, exec, firefox
  161.  
  162. # Waybar
  163.  
  164. bind = $mainMod, I, exec, killall waybar && waybar & disown
  165.  
  166. # Emoji
  167.  
  168. bind = $mainMod, D, exec, rofi -modi emoji -show emoji
  169.  
  170. # Screenshots
  171.  
  172. bind = ,PRINT, exec, hyprshot -m output --clipboard-only
  173. bind = $mainMod, PRINT, exec, hyprshot -m region --clipboard-only
  174. bind = SHIFT, PRINT, exec, hyprshot -m output -o ~/Pictures/Screenshots
  175.  
  176. # Clipboard
  177.  
  178. windowrulev2 = float,class:(clipse)
  179. windowrulev2 = size 622 652,class:(clipse)
  180. bind = $mainMod, A, exec,  kitty --class clipse -e 'clipse'
  181.  
  182. # Move focus with mainMod + arrow keys
  183.  
  184. bind = $mainMod, left, movefocus, l
  185. bind = $mainMod, right, movefocus, r
  186. bind = $mainMod, up, movefocus, u
  187. bind = $mainMod, down, movefocus, d
  188. bind = $mainMod, G, centerwindow
  189.  
  190. # Switch workspaces with mainMod + [0-9]
  191.  
  192. bind = $mainMod, ampersand, workspace, 1
  193. bind = $mainMod, eacute, workspace, 2
  194. bind = $mainMod, quotedbl, workspace, 3
  195. bind = $mainMod, apostrophe, workspace, 4
  196. bind = $mainMod, parenleft, workspace, 5
  197. bind = $mainMod, minus, workspace, 6
  198. bind = $mainMod, egrave, workspace, 7
  199. bind = $mainMod, underscore, workspace, 8
  200. bind = $mainMod, ccedilla, workspace, 9
  201. bind = $mainMod, agrave, workspace, 10
  202.  
  203. # Move active window to a workspace with mainMod + SHIFT + [0-9]
  204.  
  205. bind = SUPER_SHIFT, ampersand, movetoworkspace, 1
  206. bind = SUPER_SHIFT, eacute, movetoworkspace, 2
  207. bind = SUPER_SHIFT, quotedbl, movetoworkspace, 3
  208. bind = SUPER_SHIFT, apostrophe, movetoworkspace, 4
  209. bind = SUPER_SHIFT, parenleft, movetoworkspace, 5
  210. bind = SUPER_SHIFT, minus, movetoworkspace, 6
  211. bind = SUPER_SHIFT, egrave, movetoworkspace, 7
  212. bind = SUPER_SHIFT, underscore, movetoworkspace, 8
  213. bind = SUPER_SHIFT, ccedilla, movetoworkspace, 9
  214. bind = SUPER_SHIFT, agrave, movetoworkspace, 10
  215.  
  216. # SCROLL THROGH WORKSPACES WITH TAB/SHIFT+TAB (i3 like)
  217. bind = $mainMod, TAB, workspace, e+1
  218. bind = $mainMod_Shift, TAB, workspace, e-1
  219.  
  220. # Scroll through existing workspaces with mainMod + scroll
  221.  
  222. bind = $mainMod, mouse_down, workspace, e+1
  223. bind = $mainMod, mouse_up, workspace, e-1
  224.  
  225. # Move/resize windows with mainMod + LMB/RMB and dragging
  226.  
  227. bindm = $mainMod, mouse:272, movewindow
  228. bindm = $mainMod, mouse:273, resizewindow
  229.  
  230. # Laptop multimedia keys for volume and LCD brightness
  231.  
  232. bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
  233. bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
  234. bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
  235. bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
  236. bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
  237. bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
  238.  
  239. # WINDOW RULESET AND WORKSPACES #
  240.  
  241. windowrule = float, class:^(foot)$
  242. windowrule = float, class:^(waypaper)$
  243. windowrule = animation popin, class:^(foot)$  # sets the animation style for kitty
  244.  
  245. windowrule = opacity 1.0 override 1.0 override 1, class:^(firefox)$  # No opacity change for Firefox
  246. # windowrule = noblur, class:^(vesktop)$  # disables blur for Vesktop (commented out)
  247. windowrule = opacity 1 override 0.9 override 0.8, class:^(vesktop)$
  248. windowrule = opacity 0.8 override 0.8 override 0.8, class:^(tidal-hifi)$
  249.  
  250. windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
  251.  
  252.  
Advertisement
Add Comment
Please, Sign In to add comment