-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkeybindings.conf
156 lines (131 loc) · 6.67 KB
/
keybindings.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
# █░█ █▀▀ █░░█ █▀▀▄ ░▀░ █▀▀▄ █▀▀▄ ░▀░ █▀▀▄ █▀▀▀ █▀▀
# █▀▄ █▀▀ █▄▄█ █▀▀▄ ▀█▀ █░░█ █░░█ ▀█▀ █░░█ █░▀█ ▀▀█
# ▀░▀ ▀▀▀ ▄▄▄█ ▀▀▀░ ▀▀▀ ▀░░▀ ▀▀▀░ ▀▀▀ ▀░░▀ ▀▀▀▀ ▀▀▀
# VARIABLES
# ---------
$terminal = kitty
$browser = bash ~/Mid_Hunter/scripts/hyprchan/run_firefox.sh
# $menu = wofi --show drun
$menu = fuzzel
$mainMod = SUPER
# █▀▄▀█ █ █▀ █▀▀
# █░▀░█ █ ▄█ █▄▄
bind = $mainMod, Q, exec, $terminal
# Simple Screenshot Functions
bind = , Print, execr, grim | wl-copy
bind = $mainMod SHIFT, P, execr, grim -g "$(slurp)" - | wl-copy
bind = $mainMod,P,execr,grim ~/Pictures/$(date +%Y%m%d-%H%M%S-%2N).jpg | wl-copy
# Logout Screen
bind = $mainMod, B, execr, wlogout --protocol layer-shell
# Exit Hyprland
bind = $mainMod SHIFT, B, execr, bash ~/Mid_Hunter/scripts/kill_hypr.sh
# bind = $mainMod SHIFT, B, exit,
# Modal Cursor Navigation
bind = $mainMod, C, execr, warpd --hint
# █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█ █▀ █▀ ▀█▀ █▄█ █░░ █▀▀ █▄▄ █ █▄░█ █▀▄ █▀
# ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀ ▄█ ▄█ ░█░ ░█░ █▄▄ ██▄ █▄█ █ █░▀█ █▄▀ ▄█
# [Alt+Tab] through existing workspaces
bind = ALT, TAB, workspace, e+1
# [Super+.] Emoji Selector
bind = $mainMod, PERIOD, execr, bash ~/Mid_Hunter/scripts/menu_emoji.sh
# [Alt+Space] Launcher
bind = ALT, SPACE, exec, $menu
# Process Manager
bind = CONTROL, ESCAPE, execr, $terminal htop
bind = CONTROL ALT, DELETE, execr, $terminal htop
# █▀▀ █░█ █▀█ █▀█ █▀▄ █▀▀ █▀▄ █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀
# █▄▄ █▀█ █▄█ █▀▄ █▄▀ ██▄ █▄▀ █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█
$leader = E
$reset = hyprctl dispatch submap reset &&
bind = $mainMod, $leader, exec, sleep 2 && hyprctl dispatch submap reset
bind = $mainMod, $leader, submap, execute_stuffz
submap = execute_stuffz
# =========================================================================== #
# Firefox Personal Profile [MOD+E F]
bind = , F, exec, $reset $browser Personal
# Firefox Experiment Profile [MOD+E E]
bind = , E, exec, $reset $browser Experiment
# Kitty Terminal [MOD+F K]
bind = , K, exec, $reset $terminal ~/Mid_Hunter/scripts/fetch.sh
# Toggle Waybar
bind = , W, exec, killall -SIGUSR1 waybar
# Set Brightness
bind = , B, exec, $terminal --class teeny bash ~/Mid_Hunter/scripts/set_brightness.sh
# Set Volume
bind = , V, exec, $terminal --class teeny bash ~/Mid_Hunter/scripts/set_volume.sh
# OCR using Tesseract
bind = , P, exec, grim -g "$(slurp)" - | tesseract - - | wl-copy
# =========================================================================== #
bind = , escape, submap, reset # On Esc, go to reset submap
submap = reset # The reset submap... a.k.a rest of the binds
# █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█ █▀▄▀█ ▄▀█ █▄░█ ▄▀█ █▀▀ █▀▄▀█ █▀▀ █▄░█ ▀█▀
# ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀ █░▀░█ █▀█ █░▀█ █▀█ █▄█ █░▀░█ ██▄ █░▀█ ░█░
bind = $mainMod, X, killactive,
bind = $mainMod, F, fullscreen
# bind = $mainMod, P, pseudo,
bind = $mainMod, M, togglesplit,
bind = $mainMod, V, togglefloating,
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
# Tab through existing workspaces
bind = $mainMod, TAB, workspace, e+1
bind = $mainMod SHIFT, TAB, workspace, e-1
# █▀▀ █▀█ █▀▀ █░█ █▀
# █▀░ █▄█ █▄▄ █▄█ ▄█
# Move focus with mainMod + hjkl
bind = $mainMod, h, movefocus, l
bind = $mainMod, l, movefocus, r
bind = $mainMod, k, movefocus, u
bind = $mainMod, j, movefocus, d
# █▀ █░█░█ █ ▀█▀ █▀▀ █░█
# ▄█ ▀▄▀▄▀ █ ░█░ █▄▄ █▀█
# Switch workspaces
bind = $mainMod, U, workspace, 1
bind = $mainMod, I, workspace, 2
bind = $mainMod, O, workspace, 3
# 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
# █▀▄▀█ █▀█ █░█ █▀▀
# █░▀░█ █▄█ ▀▄▀ ██▄
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Move active window to a workspace
bind = $mainMod SHIFT, U, movetoworkspace, 1
bind = $mainMod SHIFT, I, movetoworkspace, 2
bind = $mainMod SHIFT, O, movetoworkspace, 3
# 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
# Move windows with mainMod + SHIFT + [H/J/K/L]
bind = $mainMod SHIFT, H, movewindow, l
bind = $mainMod SHIFT, J, movewindow, d
bind = $mainMod SHIFT, K, movewindow, u
bind = $mainMod SHIFT, L, movewindow, r
# █▀▀ █░█ █▄░█ █▀▀ ▀█▀ █ █▀█ █▄░█ █▀█ █▀█ █░█░█
# █▀░ █▄█ █░▀█ █▄▄ ░█░ █ █▄█ █░▀█ █▀▄ █▄█ ▀▄▀▄▀
# Volume Keys
bindl =, XF86AudioMute, exec, pamixer --toggle-mute
bindl =, XF86AudioRaiseVolume, exec, pamixer -i 1
bindl =, XF86AudioLowerVolume, exec, pamixer -d 1
# Brightness Keys
bindl =, XF86MonBrightnessUp, exec, brillo -q -A 1
bindl =, XF86MonBrightnessDown, exec, brillo -q -U 1