my dotz
1# https://wiki.hyprland.org/Configuring/Monitors
2# https://wiki.hyprland.org/Configuring/Keywords
3monitor = ,preferred,auto,auto
4exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
5exec-once = swaybg -i /home/j3s/Pictures/rose.jpg -m tile
6
7# my quake-style terminal
8# exec-once=[workspace special; size 75% 20%;move 12.5% 40] foot
9
10# Source a file (multi-file configs)
11# source = ~/.config/hypr/myColors.conf
12
13# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
14
15input {
16 kb_layout = us
17 kb_variant =
18 kb_model =
19 kb_options =
20 kb_rules =
21
22 follow_mouse = 1
23
24 touchpad {
25 natural_scroll = no
26 }
27
28 sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
29}
30
31general {
32 # See https://wiki.hyprland.org/Configuring/Variables/ for more
33
34 gaps_in = 5
35 gaps_out = 20
36 border_size = 2
37 col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
38 col.inactive_border = rgba(595959aa)
39
40 layout = dwindle
41}
42
43decoration {
44 # See https://wiki.hyprland.org/Configuring/Variables/ for more
45
46 rounding = 10
47# blur = yes
48# blur_size = 3
49# blur_passes = 1
50# blur_new_optimizations = on
51
52 drop_shadow = yes
53 shadow_range = 4
54 shadow_render_power = 3
55 col.shadow = rgba(1a1a1aee)
56}
57
58animations {
59 enabled = yes
60
61 # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
62
63 bezier = myBezier, 0.05, 0.9, 0.1, 1.05
64
65 animation = windows, 1, 7, myBezier
66 animation = windowsOut, 1, 7, default, popin 80%
67 animation = border, 1, 10, default
68 animation = borderangle, 1, 8, default
69 animation = fade, 1, 7, default
70 animation = workspaces, 1, 6, default
71}
72
73dwindle {
74 # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
75 pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
76 preserve_split = yes # you probably want this
77}
78
79master {
80 # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
81 new_is_master = true
82}
83
84gestures {
85 # See https://wiki.hyprland.org/Configuring/Variables/ for more
86 workspace_swipe = on
87 workspace_swipe_invert = false
88 workspace_swipe_distance = 3000
89 workspace_swipe_min_speed_to_force = 5
90}
91
92# Example per-device config
93# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
94# device:epic mouse V1 {
95# sensitivity = -0.5
96# }
97
98# Example windowrule v1
99# windowrule = float, ^(kitty)$
100# Example windowrule v2
101# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
102# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
103
104
105# See https://wiki.hyprland.org/Configuring/Keywords/ for more
106$mainMod = SUPER
107
108# https://wiki.hyprland.org/Configuring/Binds
109bind = $mainMod, -, togglespecialworkspace
110bind = $mainMod, Return, exec, foot
111bind = $mainMod SHIFT, Q, killactive,
112bind = $mainMod SHIFT, E, exit,
113bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy
114bind = $mainMod, F, fullscreen,
115bind = $mainMod SHIFT, Space, togglefloating,
116bind = $mainMod, D, exec, wofi --show drun
117# s = special workspace
118# ??? = screenshot
119# bind = $mainMod, S, exec, wofi --show drun
120# bind = $mainMod, P, pseudo, # dwindle
121# bind = $mainMod SHIFT, J, togglesplit, # dwindle
122
123binde = , XF86AudioRaiseVolume, exec, vol up 5
124bindl = , XF86AudioLowerVolume, exec, vol down 5
125
126# clamshell mode
127# closed
128bindl = ,switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable"
129bindl = ,switch:on:Lid Switch,exec,hyprctl keyword monitor "DP-3, highrr, auto, auto"
130# open
131bindl = ,switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, preferred, auto, auto"
132
133# vim movement
134bind = $mainMod, H, movefocus, l
135bind = $mainMod, L, movefocus, r
136bind = $mainMod, K, movefocus, u
137bind = $mainMod, J, movefocus, d
138bind = $mainMod SHIFT, H, workspace, e-1
139bind = $mainMod SHIFT, L, workspace, e+1
140
141# Switch workspaces with mainMod + [0-9]
142bind = $mainMod, 1, workspace, 1
143bind = $mainMod, 2, workspace, 2
144bind = $mainMod, 3, workspace, 3
145bind = $mainMod, 4, workspace, 4
146bind = $mainMod, 5, workspace, 5
147bind = $mainMod, 6, workspace, 6
148bind = $mainMod, 7, workspace, 7
149bind = $mainMod, 8, workspace, 8
150bind = $mainMod, 9, workspace, 9
151bind = $mainMod, 0, workspace, 10
152
153# Move active window to a workspace with mainMod + SHIFT + [0-9]
154bind = $mainMod SHIFT, 1, movetoworkspace, 1
155bind = $mainMod SHIFT, 2, movetoworkspace, 2
156bind = $mainMod SHIFT, 3, movetoworkspace, 3
157bind = $mainMod SHIFT, 4, movetoworkspace, 4
158bind = $mainMod SHIFT, 5, movetoworkspace, 5
159bind = $mainMod SHIFT, 6, movetoworkspace, 6
160bind = $mainMod SHIFT, 7, movetoworkspace, 7
161bind = $mainMod SHIFT, 8, movetoworkspace, 8
162bind = $mainMod SHIFT, 9, movetoworkspace, 9
163bind = $mainMod SHIFT, 0, movetoworkspace, 10
164
165# Scroll through existing workspaces with mainMod + scroll
166bind = $mainMod, mouse_down, workspace, e+1
167bind = $mainMod, mouse_up, workspace, e-1
168
169# Move/resize windows with mainMod + LMB/RMB and dragging
170bindm = $mainMod, mouse:272, movewindow
171bindm = $mainMod, mouse:273, resizewindow