diff options
Diffstat (limited to '.config/hypr/conf/keybinds.conf')
-rw-r--r-- | .config/hypr/conf/keybinds.conf | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/.config/hypr/conf/keybinds.conf b/.config/hypr/conf/keybinds.conf new file mode 100644 index 0000000..3ea1a83 --- /dev/null +++ b/.config/hypr/conf/keybinds.conf | |||
@@ -0,0 +1,94 @@ | |||
1 | # Key bindings | ||
2 | |||
3 | # See https://wiki.hyprland.org/Configuring/Keywords/ | ||
4 | $mainMod = SUPER | ||
5 | $terminal = kitty | ||
6 | $fileManager = thunar | ||
7 | $menu = tofi-drun | xargs hyprctl dispatch exec -- | ||
8 | |||
9 | # Applications | ||
10 | bind = $mainMod+SHIFT, code:41, exec, $fileManager # f | ||
11 | bind = $mainMod, RETURN, exec, $terminal | ||
12 | bind = $mainMod, code:71, exec, $HOME/.local/bin/mailsync # f5 | ||
13 | bind = ,code:118, exec, copyq menu # ins | ||
14 | bind = $mainMod, 0, exec, swaync-client --hide-latest | ||
15 | bind = $mainMod+SHIFT, 0, exec, swaync-client -t | ||
16 | bindr = SUPER+SHIFT, escape, exec, $HOME/.local/bin/wpower.sh | ||
17 | bindr = $mainMod, code:42, exec, $HOME/.local/bin/done # g | ||
18 | bindr = $mainMod, code:30, exec, $HOME/.local/bin/bukuadd_c # u | ||
19 | bindr = $mainMod, code:35, exec, $HOME/.local/bin/td # ] | ||
20 | |||
21 | bind = $mainMod+SHIFT, code:24, killactive, # q | ||
22 | bind = $mainMod, code:55, togglefloating, # v | ||
23 | bind = $mainMod, code:40, exec, $menu # d | ||
24 | bind = $mainMod, code:27, pseudo, # p, dwindle | ||
25 | bind = $mainMod, code:26, togglesplit, # e, dwindle | ||
26 | bind = $mainMod, code:41, fullscreen, 2 # f | ||
27 | |||
28 | bindl = , XF86AudioPlay, exec, playerctl play-pause | ||
29 | bindl = , XF86AudioNext, exec, playerctl next | ||
30 | bindl = , XF86AudioPrev, exec, playerctl previous | ||
31 | |||
32 | # Screenshots: | ||
33 | # Super+P: Current window | ||
34 | # Super+Shift+p: Select area | ||
35 | # Super+Alt+p Current output | ||
36 | # Super+Ctrl+p All outputs | ||
37 | |||
38 | # Optionally, customize slurp's appearance | ||
39 | env = SLURP_ARGS, -d -B F050F022 -b 10101022 -c ff00ff | ||
40 | |||
41 | bind = ,Print, exec, ~/.local/bin/screenshot.sh | ||
42 | bind = SHIFT, Print, exec, grimblast copy area | ||
43 | |||
44 | # Move focus | ||
45 | bind = $mainMod, code:43, movefocus, l | ||
46 | bind = $mainMod, code:44, movefocus, d | ||
47 | bind = $mainMod, code:45, movefocus, u | ||
48 | bind = $mainMod, code:46, movefocus, r | ||
49 | |||
50 | # Move window | ||
51 | bind = $mainMod+SHIFT, code:43, movewindow, l | ||
52 | bind = $mainMod+SHIFT, code:44, movewindow, d | ||
53 | bind = $mainMod+SHIFT, code:45, movewindow, u | ||
54 | bind = $mainMod+SHIFT, code:46, movewindow, r | ||
55 | |||
56 | # Switch workspaces with mainMod + [0-9] | ||
57 | bind = $mainMod, 1, workspace, 1 | ||
58 | bind = $mainMod, 2, workspace, 2 | ||
59 | bind = $mainMod, 3, workspace, 3 | ||
60 | bind = $mainMod, 4, workspace, 4 | ||
61 | bind = $mainMod, 5, workspace, 5 | ||
62 | bind = $mainMod, 6, workspace, 6 | ||
63 | bind = $mainMod, 7, workspace, 7 | ||
64 | bind = $mainMod, 8, workspace, 8 | ||
65 | bind = $mainMod, 9, workspace, 9 | ||
66 | bind = $mainMod, code:21, workspace, name:browser | ||
67 | bind = $mainMod, code:49, workspace, name:zotero | ||
68 | bind = $mainMod, code:60, workspace, name:desktop | ||
69 | bind = $mainMod, code:59, workspace, name:console | ||
70 | bind = $mainMod, code:58, workspace, name:music | ||
71 | |||
72 | # Example special workspace (scratchpad) | ||
73 | bind = $mainMod, code:20, togglespecialworkspace, magic # - | ||
74 | bind = $mainMod SHIFT, code:20, movetoworkspace, special:magic | ||
75 | |||
76 | # Move active window to a workspace with mainMod + SHIFT + [0-9] | ||
77 | bind = $mainMod SHIFT, 1, movetoworkspace, 1 | ||
78 | bind = $mainMod SHIFT, 2, movetoworkspace, 2 | ||
79 | bind = $mainMod SHIFT, 3, movetoworkspace, 3 | ||
80 | bind = $mainMod SHIFT, 4, movetoworkspace, 4 | ||
81 | bind = $mainMod SHIFT, 5, movetoworkspace, 5 | ||
82 | bind = $mainMod SHIFT, 6, movetoworkspace, 6 | ||
83 | bind = $mainMod SHIFT, 7, movetoworkspace, 7 | ||
84 | bind = $mainMod SHIFT, 8, movetoworkspace, 8 | ||
85 | bind = $mainMod SHIFT, 9, movetoworkspace, 9 | ||
86 | bind = $mainMod SHIFT, code:21, movetoworkspace, name:browser | ||
87 | bind = $mainMod SHIFT, code:49, movetoworkspace, name:zotero | ||
88 | bind = $mainMod SHIFT, code:60, movetoworkspace, name:desktop | ||
89 | bind = $mainMod SHIFT, code:59, movetoworkspace, name:console | ||
90 | bind = $mainMod SHIFT, code:58, movetoworkspace, name:music | ||
91 | |||
92 | # Move/resize windows with mainMod + LMB/RMB and dragging | ||
93 | bindm = $mainMod, mouse:272, movewindow | ||
94 | bindm = $mainMod, mouse:273, resizewindow | ||