···
2
+
# See https://wiki.hyprland.org/Configuring/Monitors/
3
+
monitor=,preferred,auto,1
6
+
force_zero_scaling = true
9
+
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
11
+
# Execute your favorite apps at launch
12
+
exec-once = bash ~/.config/hypr/scripts/sunpaper.sh -d
15
+
# Source a file (multi-file configs)
16
+
source = ~/.config/hypr/themes/frappe.conf
18
+
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
25
+
natural_scroll = yes
28
+
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
32
+
# See https://wiki.hyprland.org/Configuring/Variables/ for more
37
+
col.inactive_border = $base
38
+
col.active_border = $blue
44
+
# See https://wiki.hyprland.org/Configuring/Variables/ for more
54
+
shadow_render_power = 3
55
+
col.shadow = rgba(1a1a1aee)
64
+
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
66
+
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
68
+
animation = windows, 1, 7, myBezier
69
+
animation = windowsOut, 1, 7, default, popin 80%
70
+
animation = border, 1, 10, default
71
+
animation = fade, 1, 7, default
72
+
animation = workspaces, 1, 6, default
76
+
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
77
+
pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
78
+
preserve_split = yes # you probably want this
82
+
# See https://wiki.hyprland.org/Configuring/Variables/ for more
83
+
workspace_swipe = on
84
+
workspace_swipe_create_new = true
87
+
# Example per-device config
88
+
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
89
+
device:epic mouse V1 {
94
+
windowrulev2 = float, class:^(Rofi)$
95
+
# Positioning Windows
96
+
windowrule = center, ^(Rofi)$
99
+
windowrulev2 = tile, class:^(Spotify)$
101
+
# Example windowrule v2
102
+
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
103
+
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
106
+
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
109
+
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
112
+
bind = $mainMod, RETURN, exec, xfce4-terminal
115
+
bind = CTRL + SHIFT, B, exec, dolphin
116
+
bind = CTRL + SHIFT, F, exec, firefox
117
+
bind = CTRL + SHIFT, S, exec, spotify
118
+
bind = CTRL + SHIFT, L, exec, slack
120
+
bind = $mainMod, RETURN, exec, alacritty
123
+
bind = $mainMod, S, exec, sh ~/.config/bspwm/rofi/bin/launcher
124
+
bind = $mainMod, N, exec, nmd
125
+
bind = $mainMod + ALT, T, exec, sh ~/.config/bspwm/rofi/bin/themes
126
+
bind = $mainMod, X, exec, sh ~/.config/bspwm/rofi/bin/powermenu
127
+
bind = $mainMod + ALT, S, exec, sh ~/.config/bspwm/rofi/bin/screenshot
130
+
bind = $mainMod, Q, killactive,
131
+
bind = $mainMod, M, exec, bash ~/.config/hypr/scripts/sunpaper.sh -k; exit
132
+
bind = $mainMod, M, exit,
133
+
bind = $mainMod, V, togglefloating,
134
+
bind = $mainMod, R, exec, wofi --show drun
135
+
bind = $mainMod, P, pseudo, # dwindle
136
+
bind = $mainMod, J, togglesplit, # dwindle
137
+
bind = $mainMod, L, exec, ~/.config/hypr/scripts/lock.sh
140
+
bind=CTRL,PRINT,exec,grimblast copy area; notify-desktop "copied screenshot of selection to the clipboard"
141
+
bind=ALT,PRINT,exec,grimblast copy active; notify-desktop "copied screenshot of active window to clipboard"
142
+
bind=,PRINT,exec,grimblast copy output; notify-desktop "copied screenshot of screen to the clipboard"
145
+
bindel =,XF86MonBrightnessDown, exec, brightnessctl set 5%-; notify-desktop "brightness decreased 5%" "Curretly; $(echo "scale=1; 100 * $(brightnessctl g) / $(brightnessctl m)" | bc)%" -t 1200
146
+
bindel =,XF86MonBrightnessUp, exec, brightnessctl set 5%+; notify-desktop "brightness increased 5%" "Curretly; $(echo "scale=1; 100 * $(brightnessctl g) / $(brightnessctl m)" | bc)%" -t 1200
148
+
bindl =,XF86AudioPlay, exec, playerctl play-pause; notify-desktop "toggled media playback" -t 1800
149
+
bindl =,XF86AudioPrev, exec, playerctl previous; notify-desktop "Skipping back" -t 1800
150
+
bindl =,XF86AudioNext, exec, playerctl next
152
+
bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle; notify-desktop "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)" -t 800
154
+
bindel=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+; notify-desktop "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)" -t 800
155
+
bindel=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-; notify-desktop "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)" -t 800
157
+
# Move focus with mainMod + arrow keys
158
+
bind = $mainMod, left, movefocus, l
159
+
bind = $mainMod, right, movefocus, r
160
+
bind = $mainMod, up, movefocus, u
161
+
bind = $mainMod, down, movefocus, d
163
+
# Switch workspaces with mainMod + [0-9]
164
+
bind = $mainMod, 1, workspace, 1
165
+
bind = $mainMod, 2, workspace, 2
166
+
bind = $mainMod, 3, workspace, 3
167
+
bind = $mainMod, 4, workspace, 4
168
+
bind = $mainMod, 5, workspace, 5
169
+
bind = $mainMod, 6, workspace, 6
170
+
bind = $mainMod, 7, workspace, 7
171
+
bind = $mainMod, 8, workspace, 8
172
+
bind = $mainMod, 9, workspace, 9
173
+
bind = $mainMod, 0, workspace, 10
175
+
# Move active window to a workspace with mainMod + SHIFT + [0-9]
176
+
bind = $mainMod SHIFT, 1, movetoworkspace, 1
177
+
bind = $mainMod SHIFT, 2, movetoworkspace, 2
178
+
bind = $mainMod SHIFT, 3, movetoworkspace, 3
179
+
bind = $mainMod SHIFT, 4, movetoworkspace, 4
180
+
bind = $mainMod SHIFT, 5, movetoworkspace, 5
181
+
bind = $mainMod SHIFT, 6, movetoworkspace, 6
182
+
bind = $mainMod SHIFT, 7, movetoworkspace, 7
183
+
bind = $mainMod SHIFT, 8, movetoworkspace, 8
184
+
bind = $mainMod SHIFT, 9, movetoworkspace, 9
185
+
bind = $mainMod SHIFT, 0, movetoworkspace, 10
187
+
# Scroll through existing workspaces with mainMod + scroll
188
+
bind = $mainMod, mouse_down, workspace, e+1
189
+
bind = $mainMod, mouse_up, workspace, e-1
191
+
# Move/resize windows with mainMod + LMB/RMB and dragging
192
+
bindm = $mainMod, mouse:272, movewindow
193
+
bindm = $mainMod, mouse:273, resizewindow