xgit simple git

dotfiles

hedho dotfiles

clone git clone https://kb.hax.al/dotfiles

hypr/hyprland.conf

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