Advertisement
icon_bishop

hyprland.conf

Dec 9th, 2024
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.38 KB | None | 0 0
  1.  
  2. # #######################################################################################
  3. # AUTOGENERATED HYPR CONFIG.
  4. # PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
  5. # OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
  6. # #######################################################################################
  7.  
  8. #
  9. # Please note not all available settings / options are set here.
  10. # For a full list, see the wiki
  11. #
  12.  
  13. # autogenerated = 1 # remove this line to remove the warning
  14.  
  15. # See https://wiki.hyprland.org/Configuring/Monitors/
  16. #monitor=,preferred,auto,auto
  17. monitor=eDP-1, 1366x768@60, 0x0, 1
  18. monitor=HDMI-A-1, 1920x1080@60, 1366x0, 1
  19.  
  20.  
  21. # See https://wiki.hyprland.org/Configuring/Keywords/ for more
  22.  
  23. # Execute your favorite apps at launch
  24. # exec-once = hypridle
  25. exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
  26. exec-once = swww query || swww-daemon --format xrgb
  27. exec-once = waybar
  28. exec-once = mako -c ~/.config/mako/mako.conf
  29. exec-once = nm-applet --indicator
  30. exec-once = wl-paste --watch cliphist store
  31. exec-once = ~/.local/bin/dwmscripts/gtkthemes
  32. exec-once = ~/.local/bin/dwmscripts/hyprstart
  33. exec-once = cat ~/.cache/wal/sequences
  34. exec-once = ~/.local/bin/dwmscripts/pentablet.sh
  35. # exec-once = hyprctl setcursor ~/.icons/Empty-Butterfly-White-vr6 24
  36. exec-once = hyprpm reload -n
  37.  
  38.  
  39. # Source a file (multi-file configs)
  40. # source = ~/.config/hypr/myColors.conf
  41. # source = ~/.cache/wal/colors-hyprland.conf
  42. source = ~/.local/bin/dwmscripts/media-binds.conf
  43.  
  44.  
  45. # Set programs that you use
  46. $terminal = kitty
  47. $fileManager = thunar
  48. $menu = wofi --show drun -c ~/.config/wofi/wofi.config -s ~/.config/wofi/style.css
  49.  
  50. # Some default env vars.
  51. # env = XCURSOR_SIZE,24
  52. env = HYPRCURSOR_THEME,Empty-Butterfly-White-vr6
  53. env = HYPRCURSOR_SIZE,19
  54. env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
  55.  
  56. # For all categories, see https://wiki.hyprland.org/Configuring/Variables/
  57. input {
  58. kb_layout = us,us
  59. kb_variant = colemak,
  60. kb_model =
  61. kb_options = grp:alt_space_toggle
  62. kb_rules =
  63. numlock_by_default = true
  64. follow_mouse = 1
  65.  
  66. touchpad {
  67. natural_scroll = no
  68. }
  69.  
  70. sensitivity = 0.5 # -1.0 to 1.0, 0 means no modification.
  71. }
  72.  
  73. general {
  74. # See https://wiki.hyprland.org/Configuring/Variables/ for more
  75.  
  76. gaps_in = 5
  77. gaps_out = 7
  78. border_size = 3
  79. col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
  80. col.inactive_border = rgba(595959aa)
  81.  
  82. layout = dwindle
  83. # layout = scroller
  84.  
  85. # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
  86. allow_tearing = false
  87. }
  88.  
  89. decoration {
  90. # See https://wiki.hyprland.org/Configuring/Variables/ for more
  91.  
  92. rounding = 5
  93.  
  94. blur {
  95. enabled = true
  96. size = 3
  97. passes = 1
  98. }
  99.  
  100. shadow {
  101. enabled = true
  102. range = 4
  103. render_power = 3
  104. color = rgba(1a1a1aee)
  105. }
  106.  
  107. # Define a custom bezier curve for smoother animations
  108. bezier = myCustomBezier, 0.05, 0.9, 0.1, 1.05
  109.  
  110. # Apply a custom animation for workspace switching
  111. animation = workspaces, 1, 10, myCustomBezier, slide
  112.  
  113. # Apply other custom animations as needed
  114. animation = windows, 1, 7, myCustomBezier
  115. animation = windowsOut, 1, 7, default, popin 80%
  116. animation = border, 1, 10, default
  117. animation = fade, 1, 7, default
  118.  
  119. }
  120.  
  121. dwindle {
  122. # Define specific settings per workspace, if needed
  123. workspace_settings {
  124. workspace = w[tv1], gaps_out: 0, gaps_in: 0
  125. workspace = f[1], gapsout:0, gapsin:0
  126. windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
  127. windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
  128. windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
  129. windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
  130. }
  131. }
  132.  
  133. misc {
  134. # # See https://wiki.hyprland.org/Configuring/Variables/ for more
  135. # force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
  136. disable_hyprland_logo = true
  137. disable_splash_rendering = true
  138. }
  139.  
  140. # Example windowrule v1
  141. # windowrule = float, ^(kitty)$
  142. # Example windowrule v2
  143. # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
  144. # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
  145. windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
  146. windowrulev2 = float, class:^(scpad)$
  147. windowrulev2 = size 750 375, floating:2
  148.  
  149. windowrulev2 = float, class:^(termpad)$
  150. windowrulev2 = size 750 375, floating:2
  151.  
  152. windowrulev2 = float, class:^(rgrpad)$
  153. windowrulev2 = size 750 375, floating:2
  154.  
  155. windowrulev2 = float, class:^(tubepad)$
  156. windowrulev2 = size 750 375, floating:2
  157.  
  158. windowrulev2 = float, class:^(vizpad)$
  159. windowrulev2 = size 750 375, floating:2
  160.  
  161. windowrulev2 = size 750 375, floating:2
  162. windowrulev2 = float, class:^(instapad)$
  163.  
  164. windowrulev2 = float, class:^(chatpad)$
  165. windowrulev2 = size 750 375, floating:3
  166.  
  167. windowrulev2 = float, class:^(comicspad)$
  168. windowrulev2 = size 750 375, floating:2
  169.  
  170. windowrulev2 = float, class:^(cmuspad)$
  171. windowrulev2 = size 750 375, floating:2
  172.  
  173. windowrulev2 = float, class:^(fbpad)$
  174. windowrulev2 = size 750 375, floating:2
  175.  
  176. workspace = w[tv1], gapsout:0, gapsin:0
  177.  
  178. # See https://wiki.hyprland.org/Configuring/Keywords/ for more
  179. $mainMod = SUPER
  180.  
  181. # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
  182. bind = $mainMod, RETURN, exec, $terminal
  183. bind = $mainMod SHIFT, E, exec, ~/.local/bin/dwmscripts/rgrpad
  184. bind = $mainMod SHIFT, RETURN, exec, ~/.local/bin/dwmscripts/termpad
  185. bind = $mainMod, Q, killactive,
  186. bind = $mainMod ALT, Q, exit,
  187. bind = $mainMod CTRL, Q, exec, wlogout
  188. bind = $mainMod, X, exec, hyprlock
  189. bind = $mainMod, E, exec, $fileManager
  190. bind = $mainMod, V, togglefloating,
  191. bind = $mainMod, SPACE, exec, $menu
  192. bind = $mainMod SHIFT, SPACE, exec, ~/.config/Rofi-Beats/wofi-beats
  193. bind = $mainMod, P, pseudo, # dwindle
  194. #bind = $mainMod, J, togglesplit #dwindle
  195. bind = $mainMod SHIFT, W, exec, killall waybar
  196. bind = $mainMod, W, exec, waybar
  197. bind = $mainMod CTRL, W, exec, ~/.config/waybar/scripts/updatewal-swww
  198. bind = $mainMod CTRL, C, exec, ~/.local/bin/dwmscripts/chatpad
  199.  
  200.  
  201.  
  202. # Move focus with mainMod + arrow keys
  203. bind = $mainMod, H, movefocus, l
  204. bind = $mainMod, L, movefocus, r
  205. bind = $mainMod, K, movefocus, u
  206. bind = $mainMod, J, movefocus, d
  207.  
  208. # Resize window with mainMod + CTL + vim keys
  209. binde = $mainMod CTRL, L, resizeactive, 10 0
  210. binde = $mainMod CTRL, H, resizeactive, -10 0
  211. binde = $mainMod CTRL, K, resizeactive, 0 -10
  212. binde = $mainMod CTRL, J, resizeactive, 0 10
  213.  
  214. # Move window with mainMod + ALT + vim keys
  215. bind = $mainMod ALT, h, movewindow, l
  216. bind = $mainMod ALT, l, movewindow, r
  217. bind = $mainMod ALT, k, movewindow, u
  218. bind = $mainMod ALT, j, movewindow, d
  219.  
  220. # Switch workspaces with mainMod + [0-9]
  221. bind = $mainMod, 1, workspace, 1
  222. bind = $mainMod, 2, workspace, 2
  223. bind = $mainMod, 3, workspace, 3
  224. bind = $mainMod, 4, workspace, 4
  225. bind = $mainMod, 5, workspace, 5
  226. bind = $mainMod, 6, workspace, 6
  227. bind = $mainMod, 7, workspace, 7
  228. bind = $mainMod, 8, workspace, 8
  229. bind = $mainMod, 9, workspace, 9
  230. bind = $mainMod, 0, workspace, 10
  231.  
  232. # Move active window to a workspace with mainMod + SHIFT + [0-9]
  233. bind = $mainMod SHIFT, 1, movetoworkspace, 1
  234. bind = $mainMod SHIFT, 2, movetoworkspace, 2
  235. bind = $mainMod SHIFT, 3, movetoworkspace, 3
  236. bind = $mainMod SHIFT, 4, movetoworkspace, 4
  237. bind = $mainMod SHIFT, 5, movetoworkspace, 5
  238. bind = $mainMod SHIFT, 6, movetoworkspace, 6
  239. bind = $mainMod SHIFT, 7, movetoworkspace, 7
  240. bind = $mainMod SHIFT, 8, movetoworkspace, 8
  241. bind = $mainMod SHIFT, 9, movetoworkspace, 9
  242. bind = $mainMod SHIFT, 0, movetoworkspace, 10
  243.  
  244. # Example special workspace (scratchpad)
  245. bind = $mainMod, S, togglespecialworkspace, magic
  246. bind = $mainMod SHIFT, S, movetoworkspace, special:magic
  247.  
  248. # Scroll through existing workspaces with mainMod + scroll
  249. bind = $mainMod, mouse_down, workspace, e+1
  250. bind = $mainMod, mouse_up, workspace, e-1
  251.  
  252. # Move/resize windows with mainMod + LMB/RMB and dragging
  253. bindm = $mainMod, mouse:272, movewindow
  254. bindm = $mainMod, mouse:273, resizewindow
  255.  
  256.  
  257. # Screen Brightness
  258. bind = , XF86MonBrightnessUp, exec, brightnessctl s 15+
  259. bind = , XF86MonBrightnessDown, exec, brightnessctl s 15-
  260.  
  261. # Volume
  262. #bind = , XF86AudioRaiseVolume, exec, pamixer -i 5 --allow-boost
  263. #bind = , XF86AudioLowerVolume, exec, pamixer -d 5
  264. #bind = , XF86AudioMute, exec, pamixer -t
  265.  
  266. # Art
  267. bind = $mainMod, A, exec, krita
  268. bind = $mainMod SHIFT, A, exec, inkscape
  269. bind = $mainMod CTRL, A, exec, kdenlive
  270. bind = $mainMod ALT, A, exec, hyprpicker -a
  271. bind = ALT, A, exec, kcolorchooser
  272.  
  273. # Media
  274. bind = $mainMod, M, exec, /var/lib/flatpak/exports/bin/com.github.iwalton3.jellyfin-media-player
  275. bind = $mainMod SHIFT, M, exec, stremio
  276. bind = $mainMod CONTROL, M, exec, smplayer
  277. bind = $mainMod, R, exec, shortwave
  278. bind = $mainMod ALT, M, exec, smplayer
  279.  
  280. # Application KeyBindings
  281. bind = $mainMod, B, exec, vivaldi-stable
  282. bind = $mainMod, O, exec, libreoffice
  283. bind = $mainMod, N, exec, /var/lib/flatpak/exports/bin/com.notesnook.Notesnook
  284. bind = $mainMod SHIFT, R, exec, ~/.config/Rofi-Beats/wofi-beats
  285.  
  286. ## Keychords
  287. bind = $mainMod, C, submap, my_submaps
  288. submap = my_submaps
  289. bind = ,B,exec,~/.local/bin/dwmscripts/comicspad
  290. bind = ,B,submap,reset
  291. submap = reset
  292.  
  293.  
  294.  
  295. # Hypridle_Inhibitor
  296. bind = $mainMod ALT, X, exec, ~/.local/bin/dwmscripts/idle.sh
  297.  
Tags: hyprland
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement