-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbinds.conf
171 lines (149 loc) · 5.97 KB
/
binds.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
$mainMod = SUPER
$altgr = mod5
# Window Control
bind = $mainMod, Q, killactive
bind = $mainMod SHIFT,Q , exit
bind = $mainMod SHIFT, space, togglefloating
bind = $mainMod, I, pseudo # dwindle
bind = $mainMod SHIFT, J, togglesplit # dwindle
bind = $mainMod,F11,fullscreen
bind = $mainMod,S,togglegroup
bind = $mainMod,P,pin
bind = $mainMod SHIFT, left, movewindow, l
bind = $mainMod SHIFT, right, movewindow, r
bind = $mainMod SHIFT, up, movewindow, u
bind = $mainMod SHIFT, down, movewindow, d
bindel = $mainMod SHIFT, D, resizeactive, 10 0
bindel = $mainMod SHIFT, A, resizeactive, -10 0
bindel = $mainMod SHIFT, W, resizeactive, 0 -10
bindel = $mainMod SHIFT, S, resizeactive, 0 10
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# Exec programs
# Start web browser
bind = $mainMod,W, exec,zen-browser
bind = $mainMod,D, exec,walker
# Start kitty
bind = $mainMod,return,exec, kitty
# Start nwg-look to change gtk themes
bind = $mainMod,O,exec, nwg-look
# Start file explorer
bind = $mainMod,F,exec,thunar
# Start Neovim
bind = $mainMod,C,exec,~/.config/hypr/scripts/glaunch.sh
# Start VSCode
bind = $mainMod SHIFT,C,exec,~/.config/hypr/scripts/code-launch.sh
# Screenshot
bind = ,Print,exec,grim -g "$(slurp)" ~/Imágenes/Capturas\ de\ pantalla/"Screenshot_$(date)_.png" | wl-copy
# Reboot
bind = $mainMod SHIFT,R,exec,~/.config/hypr/scripts/reboot.sh
# Poweroff
bind = $mainMod SHIFT,P,exec,~/.config/hypr/scripts/poweroff.sh
# Start btop
bind = $mainMod,H,exec,~/.config/hypr/scripts/btop.sh
# Start music player
bind = $mainMod,M,exec,~/.config/hypr/scripts/music_player.sh
# Start topgrade
bind = $mainMod SHIFT,U,exec,~/.config/hypr/scripts/topgrade.sh
# Toggle toggle bluetooth
bind = $mainMod SHIFT,B,exec,~/.config/hypr/scripts/toggle_bluetooth.sh
# View clipboard
bind = $mainMod,V,exec,cliphist list | wofi --dmenu | cliphist decode | wl-copy
# Start glava in the background.
bind = $mainMod SHIFT,M,exec,~/.config/hypr/scripts/glava.sh
# Show notifications
bind = $mainMod,N,exec,swaync-client -t -sw
# Start calculator
bind = ,XF86Calculator,exec,gnome-calculator
# Run kitty in a special workspace
bind = $mainMod SHIFT,return,exec,[workspace special] kitty --class "Special Term"
# Run kitty in a directory
bind = $mainMod,T,exec,~/.config/hypr/scripts/term.sh
# Run btop in a special workspace
bind = $mainMod SHIFT,H,exec, [workspace special] ~/.config/hypr/scripts/btop.sh
# Toggle waybar
bind = $mainMod,E,exec,~/.config/hypr/scripts/toggle-waybar.sh
# Show blockscreen
bind = $mainMod,L,exec,gtklock
# Control
# Toggle blue light
bind = $mainMod SHIFT,N,exec, hyprshade toggle blue-light-filter
# bind = $mainMod SHIFT,N,exec,~/.config/hypr/scripts/toggle_bluelight.sh # FUCK NVIDIA.
# Toggle audiosource (to use phone as microphone)
bind = $mainMod $altgr,A,exec,~/.config/hypr/scripts/audiosource.sh
# Toggle scrcpy audio
bind = $mainMod $altgr,S,exec,~/.config/hypr/scripts/scrcpy.sh
bind = $mainMod CTRL,S,exec,~/.config/hypr/scripts/tcpip-scrcpy.sh
# Run nwg-clipman
bind = $mainMod SHIFT,V,exec,nwg-clipman
# Wallpaper control
# bind = $mainMod $altgr,N,exec,wpaperctl next
# bind = $mainMod $altgr,P,exec,wpaperctl previous
# Volume Keybinds
bindel = , XF86AudioRaiseVolume, exec, amixer set Master 5%+
bindel = , XF86AudioLowerVolume, exec, amixer set Master 5%-
bindl = , XF86AudioMute, exec, amixer set Master toggle
bindl = , XF86AudioMicMute, exec, amixer set Capture toggle
# brightness keybinds
bind = , XF86MonBrightnessUp, exec, brightnessctl set 10%+
bind = , XF86MonBrightnessDown, exec, brightnessctl set 10%-
# Player keys
bindl=, XF86AudioPlay, exec, playerctl play-pause
bindl=, XF86AudioNext, exec, playerctl next
bindl=, XF86AudioPrev, exec, playerctl previous
# Move workspaces
bind = $mainMod,TAB,workspace, e+1
bind = $mainMod SHIFT,TAB,workspace,e-1
# 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
# Numpad binds
bind = $mainMod, code:87, workspace, 11
bind = $mainMod, code:88, workspace, 12
bind = $mainMod, code:89, workspace, 13
bind = $mainMod, code:83, workspace, 14
bind = $mainMod, code:84, workspace, 15
bind = $mainMod, code:85, workspace, 16
bind = $mainMod, code:79, workspace, 17
bind = $mainMod, code:80, workspace, 18
bind = $mainMod, code:81, workspace, 19
bind = $mainMod, code:90, workspace, 20
# 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
# Numpad binds
bind = $mainMod SHIFT, code:87, movetoworkspace, 11
bind = $mainMod SHIFT, code:88, movetoworkspace, 12
bind = $mainMod SHIFT, code:89, movetoworkspace, 13
bind = $mainMod SHIFT, code:83, movetoworkspace, 14
bind = $mainMod SHIFT, code:84, movetoworkspace, 15
bind = $mainMod SHIFT, code:85, movetoworkspace, 16
bind = $mainMod SHIFT, code:79, movetoworkspace, 17
bind = $mainMod SHIFT, code:80, movetoworkspace, 18
bind = $mainMod SHIFT, code:81, movetoworkspace, 19
bind = $mainMod SHIFT, code:90, movetoworkspace, 20