feat: added hyprland config
This commit is contained in:
51
.config/hypr/conf.d/keybinds.conf
Normal file
51
.config/hypr/conf.d/keybinds.conf
Normal file
@@ -0,0 +1,51 @@
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
|
||||
# terminal
|
||||
bind = $mainMod, Return, exec, kitty
|
||||
# explorer
|
||||
bind = $mainMod, E, exec, nemo
|
||||
# browser
|
||||
bind = $mainMod SHIFT, Return, exec, flatpak run app.zen_browser.zen
|
||||
# kill
|
||||
bind = $mainMod SHIFT, Q, killactive,
|
||||
# floating
|
||||
bind = $mainMod, V, togglefloating,
|
||||
# fullscreen
|
||||
bind = $mainMod, F, fullscreen,
|
||||
# menu
|
||||
bind = $mainMod, Space, exec, anyrun
|
||||
# clipboard history
|
||||
bind = $mainMod SHIFT, V, exec, cliphist list | anyrun --plugins libstdin.so | cliphist decode | wl-copy
|
||||
# color picker
|
||||
bind = $mainMod SHIFT, C, exec, hyprpicker -f hex -n -a
|
||||
# screenshot
|
||||
bind = $mainMod SHIFT, Home, exec, ~/.local/bin/screenshot region
|
||||
bind = $mainMod CTRL, Home, exec, ~/.local/bin/screenshot window
|
||||
bind = $mainMod ALT, Home, exec, ~/.local/bin/screenshot screen
|
||||
# overview
|
||||
# bind = $mainMod, Tab, overview:toggle
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||
|
||||
# Move windows
|
||||
bind = $mainMod, left, movewindoworgroup, l
|
||||
bind = $mainMod, right, movewindoworgroup, r
|
||||
bind = $mainMod, up, movewindoworgroup, u
|
||||
bind = $mainMod, down, movewindoworgroup, d
|
||||
# Group windows
|
||||
bind = $mainMod, P, togglegroup,
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# Volume
|
||||
bindel=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindel=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindl =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
|
||||
# Discord
|
||||
# bind=, XF86Tools, pass, ^(com\.discordapp\.Discord)$
|
||||
Reference in New Issue
Block a user