summaryrefslogtreecommitdiffstats
path: root/.config/hypr/conf/keybinds.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/hypr/conf/keybinds.conf')
-rw-r--r--.config/hypr/conf/keybinds.conf94
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
10bind = $mainMod+SHIFT, code:41, exec, $fileManager # f
11bind = $mainMod, RETURN, exec, $terminal
12bind = $mainMod, code:71, exec, $HOME/.local/bin/mailsync # f5
13bind = ,code:118, exec, copyq menu # ins
14bind = $mainMod, 0, exec, swaync-client --hide-latest
15bind = $mainMod+SHIFT, 0, exec, swaync-client -t
16bindr = SUPER+SHIFT, escape, exec, $HOME/.local/bin/wpower.sh
17bindr = $mainMod, code:42, exec, $HOME/.local/bin/done # g
18bindr = $mainMod, code:30, exec, $HOME/.local/bin/bukuadd_c # u
19bindr = $mainMod, code:35, exec, $HOME/.local/bin/td # ]
20
21bind = $mainMod+SHIFT, code:24, killactive, # q
22bind = $mainMod, code:55, togglefloating, # v
23bind = $mainMod, code:40, exec, $menu # d
24bind = $mainMod, code:27, pseudo, # p, dwindle
25bind = $mainMod, code:26, togglesplit, # e, dwindle
26bind = $mainMod, code:41, fullscreen, 2 # f
27
28bindl = , XF86AudioPlay, exec, playerctl play-pause
29bindl = , XF86AudioNext, exec, playerctl next
30bindl = , 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
39env = SLURP_ARGS, -d -B F050F022 -b 10101022 -c ff00ff
40
41bind = ,Print, exec, ~/.local/bin/screenshot.sh
42bind = SHIFT, Print, exec, grimblast copy area
43
44# Move focus
45bind = $mainMod, code:43, movefocus, l
46bind = $mainMod, code:44, movefocus, d
47bind = $mainMod, code:45, movefocus, u
48bind = $mainMod, code:46, movefocus, r
49
50# Move window
51bind = $mainMod+SHIFT, code:43, movewindow, l
52bind = $mainMod+SHIFT, code:44, movewindow, d
53bind = $mainMod+SHIFT, code:45, movewindow, u
54bind = $mainMod+SHIFT, code:46, movewindow, r
55
56# Switch workspaces with mainMod + [0-9]
57bind = $mainMod, 1, workspace, 1
58bind = $mainMod, 2, workspace, 2
59bind = $mainMod, 3, workspace, 3
60bind = $mainMod, 4, workspace, 4
61bind = $mainMod, 5, workspace, 5
62bind = $mainMod, 6, workspace, 6
63bind = $mainMod, 7, workspace, 7
64bind = $mainMod, 8, workspace, 8
65bind = $mainMod, 9, workspace, 9
66bind = $mainMod, code:21, workspace, name:browser
67bind = $mainMod, code:49, workspace, name:zotero
68bind = $mainMod, code:60, workspace, name:desktop
69bind = $mainMod, code:59, workspace, name:console
70bind = $mainMod, code:58, workspace, name:music
71
72# Example special workspace (scratchpad)
73bind = $mainMod, code:20, togglespecialworkspace, magic # -
74bind = $mainMod SHIFT, code:20, movetoworkspace, special:magic
75
76# Move active window to a workspace with mainMod + SHIFT + [0-9]
77bind = $mainMod SHIFT, 1, movetoworkspace, 1
78bind = $mainMod SHIFT, 2, movetoworkspace, 2
79bind = $mainMod SHIFT, 3, movetoworkspace, 3
80bind = $mainMod SHIFT, 4, movetoworkspace, 4
81bind = $mainMod SHIFT, 5, movetoworkspace, 5
82bind = $mainMod SHIFT, 6, movetoworkspace, 6
83bind = $mainMod SHIFT, 7, movetoworkspace, 7
84bind = $mainMod SHIFT, 8, movetoworkspace, 8
85bind = $mainMod SHIFT, 9, movetoworkspace, 9
86bind = $mainMod SHIFT, code:21, movetoworkspace, name:browser
87bind = $mainMod SHIFT, code:49, movetoworkspace, name:zotero
88bind = $mainMod SHIFT, code:60, movetoworkspace, name:desktop
89bind = $mainMod SHIFT, code:59, movetoworkspace, name:console
90bind = $mainMod SHIFT, code:58, movetoworkspace, name:music
91
92# Move/resize windows with mainMod + LMB/RMB and dragging
93bindm = $mainMod, mouse:272, movewindow
94bindm = $mainMod, mouse:273, resizewindow