Refactor into modular configs, fix btop triple bind, add opacity notes
This commit is contained in:
123
configs/hypr/keybinds.conf
Normal file
123
configs/hypr/keybinds.conf
Normal file
@@ -0,0 +1,123 @@
|
||||
#############################
|
||||
# Keybinds
|
||||
#############################
|
||||
# $mainMod is the SUPER (Windows) key.
|
||||
# Change it below if you prefer ALT or CTRL.
|
||||
|
||||
$mainMod = SUPER
|
||||
|
||||
# ---- App Launches ---- #
|
||||
bind = $mainMod, T, exec, $terminal
|
||||
bind = $mainMod, B, exec, $browser
|
||||
bind = $mainMod, O, exec, $notes
|
||||
bind = $mainMod, C, exec, $editor
|
||||
bind = $mainMod, S, exec, $editor-alt
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, F, exec, $fileManager
|
||||
bind = $mainMod, W, togglefloating,
|
||||
bind = $mainMod, A, exec, $menu
|
||||
bind = SUPER, E, exec, jome -d | wl-copy
|
||||
|
||||
# ---- Focus Movement ---- #
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# ---- Workspace Switching ---- #
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
# ---- Scroll Through Workspaces ---- #
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# ---- Move / Resize Windows ---- #
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
bindm = $mainMod, Z, movewindow
|
||||
bindm = $mainMod, X, resizewindow
|
||||
|
||||
binde = $mainMod+Shift, Right, resizeactive, 30 0
|
||||
binde = $mainMod+Shift, Left, resizeactive, -30 0
|
||||
binde = $mainMod+Shift, Up, resizeactive, 0 -30
|
||||
binde = $mainMod+Shift, Down, resizeactive, 0 30
|
||||
|
||||
# ---- Clipboard & Color ---- #
|
||||
bind = SUPER, V, exec, cliphist list | tofi -c ~/.config/tofi/configV | cliphist decode | wl-copy
|
||||
bind = $mainMod, P, exec, $colorPicker | wl-copy
|
||||
|
||||
# ---- Lock & Logout ---- #
|
||||
bind = SUPER, L, exec, hyprlock
|
||||
bind = SUPER, Escape, exec, wlogout
|
||||
bind = Ctrl, Escape, exec, killall waybar || waybar
|
||||
|
||||
# ---- Screenshots ---- #
|
||||
bind = , Print, exec, grimblast --notify copysave screen
|
||||
bind = SUPER, Print, exec, grimblast --freeze --notify copysave active
|
||||
bind = SUPER ALT, Print, exec, grimblast --freeze --notify copysave area
|
||||
|
||||
# ---- Volume & Media ---- #
|
||||
bind = , XF86AudioRaiseVolume, exec, pamixer -i 5
|
||||
bind = , XF86AudioLowerVolume, exec, pamixer -d 5
|
||||
bind = , XF86AudioMicMute, exec, pamixer --default-source -m
|
||||
bind = , XF86AudioMute, exec, pamixer -t
|
||||
bind = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bind = , XF86AudioPause, exec, playerctl play-pause
|
||||
bind = , XF86AudioNext, exec, playerctl next
|
||||
bind = , XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
# ---- Brightness ---- #
|
||||
bind = , XF86MonBrightnessUp, exec, brightnessctl s +5%
|
||||
bind = , XF86MonBrightnessDown, exec, brightnessctl s 5%-
|
||||
|
||||
# ---- F-Keys (custom apps) ---- #
|
||||
bind = $mainMod, K, exec, $mail
|
||||
bind = $mainMod, F1, exec, $spotify
|
||||
bind = $mainMod, F2, exec, $htop
|
||||
bind = $mainMod, F3, exec, $nvtop
|
||||
bind = $mainMod, F4, exec, $element
|
||||
bind = $mainMod, F5, exec, $jellyfin
|
||||
bind = $mainMod, F6, exec, $btop
|
||||
# F7-F8 available for custom binds
|
||||
# bind = $mainMod, F7, exec, <your-app>
|
||||
# bind = $mainMod, F8, exec, <your-app>
|
||||
bind = $mainMod, F9, exec, $gamelauncher
|
||||
bind = $mainMod, F10, exec, $lavat
|
||||
bind = $mainMod, F11, exec, $matrix
|
||||
bind = $mainMod, F12, exec, $cava
|
||||
|
||||
# ---- Special Binds ---- #
|
||||
bind = $mainMod, M, exec, $mumblemic
|
||||
bind = $mainMod, Delete, exec, $hyperion0
|
||||
bind = $mainMod, Insert, exec, $hyperion1
|
||||
bind = $mainMod, bracketright, exec, $headset
|
||||
bind = $mainMod, bracketleft, exec, $speaker
|
||||
bind = $mainMod, H, togglespecialworkspace, Magic
|
||||
bind = $mainMod Shift, H, movetoworkspace, special:Magic
|
||||
bind = $mainMod, Page_Up, togglespecialworkspace, Dream
|
||||
bind = $mainMod Shift, Page_Up, movetoworkspace, special:Dream
|
||||
bind = $mainMod, Page_Down, togglespecialworkspace, Sky
|
||||
bind = $mainMod Shift, Page_Down, movetoworkspace, special:Sky
|
||||
bind = $mainMod, mouse:275, exec, mumble rpc starttalking
|
||||
bindr = $mainMod, mouse:275, exec, mumble rpc stoptalking
|
||||
bind = $mainMod, Scroll_Lock, exec, systemctl hibernate
|
||||
Reference in New Issue
Block a user