-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeybinds.conf
executable file
·243 lines (197 loc) · 9.03 KB
/
keybinds.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# █▄▀ █▀▀ █▄█ █▄▄ █ █▄░█ █▀▄
# █░█ ██▄ ░█░ █▄█ █ █░▀█ █▄▀
$mainMod = SUPER
$scriptsDir = $HOME/.config/hypr/scripts
$notifycmd = notify-send -h string:x-canonical-private-synchronous:hypr-cfg -u low
$bg-dir = $HOME/.wallpapers
# IDK
$volume = $scriptsDir/volume
# $screenshot = $scriptsDir/screensht
# $colorpicker = $scriptsDir/colorpicker
$files = lf
$browser = firefox
# █▀ █▀▀ █▀█ █▀▀ █▀▀ █▄░█ █▀ █░█ █▀█ ▀█▀
# ▄█ █▄▄ █▀▄ ██▄ ██▄ █░▀█ ▄█ █▀█ █▄█ ░█░
# bind = $mainMod, v, exec, wf-recorder -f $(xdg-user-dir VIDEOS)/$(date +'%H:%M:%S_%d-%m-%Y.mp4')
# bind = $mainMod SHIFT, v, exec, killall -s SIGINT wf-recorder
# bind = , Print, exec, $screenshot full
# bind = $mainModSHIFT, S, exec, $screenshot area
# █▀▄▀█ █ █▀ █▀▀
# █░▀░█ █ ▄█ █▄▄
# bind = $mainMod, S, movetoworkspace, special
# bind = CTRL ALT, L, exec, sudo systemctl suspend
# bind = $mainMod SHIFT, K, exec, kitty
bind = $mainMod, Return, exec, alacritty
bind = $mainMod, P, exec, killall rofi || rofi -show drun -sort -theme ~/.config/rofi/launcher.rasi
# bind = $mainMod, W, exec, rio
bind = $mainMod, W, exec, $browser
bind = $mainMod SHIFT, P, pin,
# bind = CTRL ALT, L, exec, sh $HOME/.config/rofi/bin/powermenu
bind = CTRL ALT, L, exec, wlogout --layout $HOME/.config/wlogout/layout
bind = $mainMod, N, exec, sh $HOME/.config/rofi/bin/net
bind = $mainMod, B, exec, killall waybar || waybar
# bind = $mainMod SHIFT, B, exec, [monitor:eDP-1] killall waybar || waybar
bind = $mainMod SHIFT, R, forcerendererreload,
# Change Workspace Mode
# bind = $mainMod SHIFT, Space, workspaceopt, allfloat
# bind = $mainMod SHIFT, Space, exec, $notifycmd 'Toggled All Float Mode'
# bind = $mainMod SHIFT, P, workspaceopt, allpseudo
# bind = $mainMod SHIFT, P, exec, $notifycmd 'Toggled All Pseudo Mode'
# bind = $mainMod, Tab, cyclenext,
# bind = $mainMod, Tab, bringactivetotop,
# █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█ █▀▄▀█ ▄▀█ █▄░█ ▄▀█ █▀▀ █▀▄▀█ █▀▀ █▄░█ ▀█▀
# ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀ █░▀░█ █▀█ █░▀█ █▀█ █▄█ █░▀░█ ██▄ █░▀█ ░█░
bind = $mainMod, Q, killactive,
bind = $mainMod SHIFT, Q, exit,
bind = $mainMod, F, fullscreen,
bind = $mainMod, E, togglefloating,
# bind = $mainMod, P, pseudo, # dwindle
# bind = $mainMod, S, togglesplit, # dwindle
# █▀▀ █▀█ █▀▀ █░█ █▀
# █▀░ █▄█ █▄▄ █▄█ ▄█
bind = $mainMod, COMMA, focusmonitor, +1
bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r
bind = $mainMod, K, movefocus, u
bind = $mainMod, J, movefocus, d
bind = $mainMod, C, layoutmsg, orientationcenter
bind = $mainMod, SPACE, layoutmsg, orientationnext
bind = $mainMod SHIFT, SPACE, layoutmsg, orientationprev
# bind = $mainMod, N, cyclenext
# bind = $mainMod SHIFT, N, cyclenext, prev
# █▀█ █▀▀ █▀ █ ▀█ █▀▀ █▀▄▀█ █▀█ █░█ █▀▀
# █▀▄ ██▄ ▄█ █ █▄ ██▄ █░▀░█ █▄█ ▀▄▀ ██▄
bind = $mainMod, M, submap, resizemove
submap = resizemove
binde = , L, resizeactive, 36 0
binde = , H, resizeactive, -36 0
binde = , J, resizeactive, 0 36
binde = , K, resizeactive, 0 -36
binde = , MINUS, resizeactive, -36 -36
binde = , EQUAL, resizeactive, 36 36
binde = SHIFT, L, moveactive, 36 0
binde = SHIFT, H, moveactive, -36 0
binde = SHIFT, J, moveactive, 0 36
binde = SHIFT, K, moveactive, 0 -36
binde = SHIFT, MINUS, moveactive, -36 -36
binde = SHIFT, EQUAL, moveactive, 36 36
bind = , escape, submap, reset
submap = reset
# █▀ █▀█ █▀▀ █▀▀ █ ▄▀█ █░░
# ▄█ █▀▀ ██▄ █▄▄ █ █▀█ █▄▄
# bind = $mainMod SHIFT, W, exec, [workspace 2 silent;movefocus 2] $browser
# bind = $mainMod, SEMICOLON, exec, alacritty -e sh -c "lf"
# bind = $mainMod, A, exec, rio
# bind = $mainMod, A, exec, hyprctl dispatch -- exec alacritty -e bash -c "flamingo"
bind = $mainMod, S, togglespecialworkspace
bind = $mainMod SHIFT, S, movetoworkspace, special
# bind = $mainMod, S, exec, $notifycmd 'Toggled Special Workspace'
bind = $mainMod SHIFT, C, exec, hyprctl dispatch centerwindow
# ▀█▀ ▄▀█ █▄▄ █▄▄ █▀▀ █▀▄
# ░█░ █▀█ █▄█ █▄█ ██▄ █▄▀
#
# bind = $mainMod SHIFT, g, makegroup, tab
bind = $mainMod, g, togglegroup
# bind = $mainMod, c, moveintogroup
bind = ALT, TAB, changegroupactive, f
bind = ALT SHIFT, TAB, changegroupactive, b
bind = ALT, escape, moveoutofgroup
# bind = $mainMod, G, exec, $notifycmd 'Toggled Group Mode'
# █▀▄▀█ █▀█ █░█ █▀▀
# █░▀░█ █▄█ ▀▄▀ ██▄
bind = $mainMod SHIFT, COMMA, movewindow, mon:+1
# move windows
bind = $mainMod SHIFT, H, swapwindow, l
bind = $mainMod SHIFT, L, swapwindow, r
bind = $mainMod SHIFT, K, swapwindow, u
bind = $mainMod SHIFT, J, swapwindow, d
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
workspace=eDP-1,1
workspace=HDMI-A-2,6
# workspace=HDMI-A-2,11
workspace=1,monitor:eDP-1
workspace=2,monitor:eDP-1
workspace=3,monitor:eDP-1
workspace=4,monitor:eDP-1
workspace=5,monitor:eDP-1
workspace=6,monitor:HDMI-A-2
workspace=7,monitor:HDMI-A-2
workspace=8,monitor:HDMI-A-2
workspace=9,monitor:HDMI-A-2
workspace=10,monitor:HDMI-A-2
# workspace=6,monitor:eDP-1
# workspace=7,monitor:eDP-1
# workspace=8,monitor:eDP-1
# workspace=9,monitor:eDP-1
# workspace=10,monitor:eDP-1
# workspace=11,monitor:HDMI-A-2
# workspace=12,monitor:HDMI-A-2
# workspace=13,monitor:HDMI-A-2
# workspace=14,monitor:HDMI-A-2
# workspace=15,monitor:HDMI-A-2
# workspace=16,monitor:HDMI-A-2
# workspace=17,monitor:HDMI-A-2
# workspace=18,monitor:HDMI-A-2
# workspace=19,monitor:HDMI-A-2
#
# # cargo install hyprsome
# bind=$mainMod,1,exec,hyprsome workspace 1
# bind=$mainMod,2,exec,hyprsome workspace 2
# bind=$mainMod,3,exec,hyprsome workspace 3
# bind=$mainMod,4,exec,hyprsome workspace 4
# bind=$mainMod,5,exec,hyprsome workspace 5
#
# bind=$mainMod SHIFT,1,exec,hyprsome move 1
# bind=$mainMod SHIFT,2,exec,hyprsome move 2
# bind=$mainMod SHIFT,3,exec,hyprsome move 3
# bind=$mainMod SHIFT,4,exec,hyprsome move 4
# bind=$mainMod SHIFT,5,exec,hyprsome move 5
# █▀ █░█░█ █ ▀█▀ █▀▀ █░█
# ▄█ ▀▄▀▄▀ █ ░█░ █▄▄ █▀█
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, TAB, workspace, m+1
bind = $mainMod SHIFT, TAB, workspace, m-1
# bind = ALT, TAB, workspace, e+1
# bind = ALT SHIFT, TAB, workspace, e-1
bind = $mainMod, PERIOD, workspace, r+1
bind = $mainMod SHIFT, PERIOD, workspace, r-1
# bind = $mainMod SHIFT, P, exec, grim -g "$(slurp -d)" - | wl-copy
# Swaps the active workspaces between two monitors
bind = $mainMod, Z, swapactiveworkspaces, HDMI-A-2 eDP-1
# volume control yay -Syu pulsemixer
bind = , xf86audioraisevolume, exec, pulsemixer --change-volume +10 # --max-volume 100
bind = , xf86audiolowervolume, exec, pulsemixer --change-volume -10
bind = , xf86audiomute, exec, pulsemixer --toggle-mute
# brightneww control
bind = , xf86monbrightnessup, exec, brightnessctl set 5%+
bind = , xf86monbrightnessdown, exec, brightnessctl set 5%-
# screenshot
# bind = , print, exec, grim ~/Pictures/$(date '+%Y-%m-%d-%H:%M:%S').png
# bind = $mainMod, S, exec, grim ~/Pictures/$(date '+%Y-%m-%d-%H:%M:%S').png
# █▀▄▀█ █▀█ █░█ █▀ █▀▀ █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀
# █░▀░█ █▄█ █▄█ ▄█ ██▄ █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow
bind = SUPER, mouse_down, workspace, e+1
bind = SUPER, mouse_up, workspace, e-1