♻️ refactor(hypr): organize pickers code in binds
This commit is contained in:
parent
9dcaffad1a
commit
68b185dab2
2 changed files with 9 additions and 15 deletions
|
@ -22,14 +22,20 @@ bind = SUPERSHIFT, RETURN, exec, ~/.config/hypr/scripts/custom_app_launch kitty
|
|||
bind = SUPER, BACKSPACE, exec, ~/.config/hypr/scripts/custom_app_launch nvim
|
||||
bind = SUPERSHIFT, BACKSPACE, exec, ~/.config/hypr/scripts/custom_app_launch neovide
|
||||
|
||||
# Launchers
|
||||
# Pickers/Launchers
|
||||
bind = SUPER, 23, exec, rofi -show drun # Tab
|
||||
bind = SUPER, INSERT, exec, ~/.config/hypr/scripts/color_picker
|
||||
bind = SUPERSHIFT, W, exec, ~/.config/hypr/scripts/wallpaper select
|
||||
bind = SUPERCTRL, W, exec, ~/.config/hypr/scripts/wallpaper random
|
||||
bind = SUPER, F1, exec, ~/.config/hypr/scripts/rofi/keybindings
|
||||
bind = SUPERSHIFT, R, exec, ~/.config/hypr/scripts/rofi/recording
|
||||
bind = SUPERSHIFT, G, exec, ~/.config/hypr/scripts/rofi/game_launcher
|
||||
|
||||
# Scratchpads
|
||||
bind = SUPER, V, exec, pypr toggle volume
|
||||
bind = SUPER, 51, exec, pypr toggle terminal && hyprctl dispatch bringactivetotop # Backslash
|
||||
bind = SUPER, B, exec, pypr toggle btop && hyprctl dispatch bringactivetotop
|
||||
bind = SUPERSHIFT, G, exec, pypr toggle gpt && hyprctl dispatch bringactivetotop
|
||||
bind = SUPERSHIFT, I, exec, pypr toggle gpt && hyprctl dispatch bringactivetotop
|
||||
bind = SUPERSHIFT, B, exec, pypr toggle bluetooth && hyprctl dispatch bringactivetotop
|
||||
bind = SUPER, E, exec, pypr toggle yazi && hyprctl dispatch bringactivetotop
|
||||
bind = SUPER, D, exec, pypr toggle dots && hyprctl dispatch bringactivetotop
|
||||
|
@ -46,19 +52,6 @@ bind = SUPER, Y, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
|||
# Logout menu
|
||||
bind = SUPER, ESCAPE, exec, wleave
|
||||
|
||||
# Color picker
|
||||
bind = SUPER, INSERT, exec, ~/.config/hypr/scripts/color_picker
|
||||
|
||||
# Wallpaper
|
||||
bind = SUPERSHIFT, W, exec, ~/.config/hypr/scripts/wallpaper select
|
||||
bind = SUPERCTRL, W, exec, ~/.config/hypr/scripts/wallpaper random
|
||||
|
||||
# Keybindings Cheatsheet
|
||||
bind = SUPER, F1, exec, ~/.config/hypr/scripts/rofi/keybindings
|
||||
|
||||
# Recording
|
||||
bind = SUPERSHIFT, R, exec, ~/.config/hypr/scripts/rofi/recording
|
||||
|
||||
## Windows
|
||||
## Focusing on windows
|
||||
bind = SUPER, LEFT, movefocus, l
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
CONFIG=$(rofi -show file-browser-extended -file-browser-stdout -file-browser-dir "$HOME"/.config/keyb/bindings)
|
||||
|
||||
hyprctl dispatch exec "[float;size 45% 80%;center 1] kitty keyb -k '$CONFIG'"
|
||||
|
|
Loading…
Add table
Reference in a new issue