My personal dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: moved styling and keybinds out of hyprland config

+98 -100
-100
hypr/.config/hypr/hyprland.conf
··· 12 12 env = XCURSOR_SIZE,24 13 13 env = HYPRCURSOR_SIZE,24 14 14 15 - # -- Styling -- 16 - general { 17 - gaps_in = 3 18 - gaps_out = 5 19 - 20 - border_size = 2 21 - 22 - col.active_border = rgb(88c0d0) 23 - col.inactive_border = rgb(2e3440) 24 - 25 - resize_on_border = false 26 - allow_tearing = false 27 - 28 - layout = dwindle 29 - } 30 - 31 - decoration { 32 - rounding = 4 33 - rounding_power = 2 34 - 35 - active_opacity = 1.0 36 - inactive_opacity = 1.0 37 - 38 - shadow { 39 - enabled = true 40 - range = 4 41 - render_power = 3 42 - color = rgba(1a1a1aee) 43 - } 44 - 45 - blur { 46 - enabled = true 47 - size = 6 48 - passes = 1 49 - } 50 - } 51 - 52 - # https://wiki.hyprland.org/Configuring/Variables/#animations 53 - animations { 54 - enabled = true 55 - 56 - bezier = easeOut, 0, 0.1, 0.6, 1 57 - bezier = easeIn, 0.4, 0, 1, 0.9 58 - bezier = ease, 0.4, 0, 0.6, 1 59 - bezier = linear, 0, 0, 1, 1 60 - 61 - animation = global, 1, 1, default 62 - animation = border, 0 63 - animation = fade, 1, 0.5, linear 64 - animation = workspaces, 1, 2, easeOut, slide 65 - 66 - animation = windows, 1, 1.5, ease, slide 67 - animation = windowsIn, 1, 1, easeIn, slide 68 - animation = windowsOut, 1, 0.5, easeOut, slide 69 - 70 - animation = layers, 1, 1.5, ease, fade 71 - } 72 - 73 15 # -- Layout -- 74 16 dwindle { 75 17 pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below ··· 110 52 111 53 middle_click_paste = false 112 54 } 113 - 114 - # -- Keybinds -- 115 - $mainMod = SUPER # Sets "Windows" key as main modifier 116 - 117 - # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more 118 - bind = $mainMod, return, exec, $terminal 119 - bind = $mainMod, Q, killactive, 120 - bind = $mainMod SHIFT, E, exit, 121 - 122 - # Move focus with mainMod + arrow keys 123 - bind = $mainMod, left, movefocus, l 124 - bind = $mainMod, right, movefocus, r 125 - bind = $mainMod, up, movefocus, u 126 - bind = $mainMod, down, movefocus, d 127 - 128 - # Switch workspaces with mainMod + [0-9] 129 - bind = $mainMod, 1, workspace, 1 130 - bind = $mainMod, 2, workspace, 2 131 - bind = $mainMod, 3, workspace, 3 132 - bind = $mainMod, 4, workspace, 4 133 - bind = $mainMod, 5, workspace, 5 134 - bind = $mainMod, 6, workspace, 6 135 - 136 - # Move active window to a workspace with mainMod + SHIFT + [0-9] 137 - bind = $mainMod SHIFT, 1, movetoworkspace, 1 138 - bind = $mainMod SHIFT, 2, movetoworkspace, 2 139 - bind = $mainMod SHIFT, 3, movetoworkspace, 3 140 - bind = $mainMod SHIFT, 4, movetoworkspace, 4 141 - bind = $mainMod SHIFT, 5, movetoworkspace, 5 142 - bind = $mainMod SHIFT, 6, movetoworkspace, 6 143 - 144 - # Move/resize windows with mainMod + LMB/RMB and dragging 145 - bindm = $mainMod, mouse:272, movewindow 146 - bindm = $mainMod, mouse:273, resizewindow 147 - 148 - # Laptop multimedia keys for volume and LCD brightness 149 - bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ 150 - bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- 151 - bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle 152 - bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle 153 - bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+ 154 - bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%- 155 55 156 56 # -- Rules -- 157 57 windowrule = suppressevent maximize, class:.*
+41
hypr/.config/hypr/hyprland/keybinds.conf
··· 1 + # -- Keybinds -- 2 + $mainMod = SUPER # Sets "Windows" key as main modifier 3 + 4 + # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more 5 + bind = $mainMod, return, exec, $terminal 6 + bind = $mainMod, Q, killactive, 7 + bind = $mainMod SHIFT, E, exit, 8 + 9 + # Move focus with mainMod + arrow keys 10 + bind = $mainMod, left, movefocus, l 11 + bind = $mainMod, right, movefocus, r 12 + bind = $mainMod, up, movefocus, u 13 + bind = $mainMod, down, movefocus, d 14 + 15 + # Switch workspaces with mainMod + [0-9] 16 + bind = $mainMod, 1, workspace, 1 17 + bind = $mainMod, 2, workspace, 2 18 + bind = $mainMod, 3, workspace, 3 19 + bind = $mainMod, 4, workspace, 4 20 + bind = $mainMod, 5, workspace, 5 21 + bind = $mainMod, 6, workspace, 6 22 + 23 + # Move active window to a workspace with mainMod + SHIFT + [0-9] 24 + bind = $mainMod SHIFT, 1, movetoworkspace, 1 25 + bind = $mainMod SHIFT, 2, movetoworkspace, 2 26 + bind = $mainMod SHIFT, 3, movetoworkspace, 3 27 + bind = $mainMod SHIFT, 4, movetoworkspace, 4 28 + bind = $mainMod SHIFT, 5, movetoworkspace, 5 29 + bind = $mainMod SHIFT, 6, movetoworkspace, 6 30 + 31 + # Move/resize windows with mainMod + LMB/RMB and dragging 32 + bindm = $mainMod, mouse:272, movewindow 33 + bindm = $mainMod, mouse:273, resizewindow 34 + 35 + # Laptop multimedia keys for volume and LCD brightness 36 + bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ 37 + bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- 38 + bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle 39 + bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle 40 + bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+ 41 + bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
+57
hypr/.config/hypr/hyprland/styling.conf
··· 1 + # -- Styling -- 2 + general { 3 + gaps_in = 3 4 + gaps_out = 5 5 + 6 + border_size = 2 7 + 8 + col.active_border = rgb(88c0d0) 9 + col.inactive_border = rgb(2e3440) 10 + 11 + resize_on_border = false 12 + allow_tearing = false 13 + 14 + layout = dwindle 15 + } 16 + 17 + decoration { 18 + rounding = 4 19 + rounding_power = 2 20 + 21 + active_opacity = 1.0 22 + inactive_opacity = 1.0 23 + 24 + shadow { 25 + enabled = true 26 + range = 4 27 + render_power = 3 28 + color = rgba(1a1a1aee) 29 + } 30 + 31 + blur { 32 + enabled = true 33 + size = 6 34 + passes = 1 35 + } 36 + } 37 + 38 + # -- Animations -- 39 + animations { 40 + enabled = true 41 + 42 + bezier = easeOut, 0, 0.1, 0.6, 1 43 + bezier = easeIn, 0.4, 0, 1, 0.9 44 + bezier = ease, 0.4, 0, 0.6, 1 45 + bezier = linear, 0, 0, 1, 1 46 + 47 + animation = global, 1, 1, default 48 + animation = border, 0 49 + animation = fade, 1, 0.5, linear 50 + animation = workspaces, 1, 2, easeOut, slide 51 + 52 + animation = windows, 1, 1.5, ease, slide 53 + animation = windowsIn, 1, 1, easeIn, slide 54 + animation = windowsOut, 1, 0.5, easeOut, slide 55 + 56 + animation = layers, 1, 1.5, ease, fade 57 + }