mirror of
https://github.com/xsghetti/HyprCrux.git
synced 2025-07-01 13:00:38 -04:00
136 lines
6 KiB
Text
136 lines
6 KiB
Text
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
|
$mainMod = SUPER
|
|
|
|
# My Keybinds
|
|
bind = $mainMod, F, exec, $browser
|
|
bind = $mainMod, R, exec, pypr toggle term
|
|
bind = $mainMod SHIFT, ESCAPE, exec, killall waybar || waybar
|
|
bind = $mainMod, D, exec, $discord
|
|
bind = $mainMod SHIFT, W, exec, wp
|
|
bind = $mainMod SHIFT, F, fullscreen
|
|
bind = $mainMod, N, exec, swaync-client -t -sw
|
|
bind = $mainMod, L, exec, hyprlock
|
|
bind = $mainMod, W, exec, $HOME/wallpapertest.sh
|
|
bind = $mainMod, G, pin
|
|
|
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
|
bind = $mainMod, T, exec, $terminal
|
|
bind = $mainMod, Q, killactive,
|
|
bind = $mainMod, ESCAPE, exit,
|
|
bind = $mainMod, E, exec, $fileManager
|
|
bind = $mainMod, V, togglefloating,
|
|
bind = $mainMod, A, exec, $menu
|
|
bind = $mainMod SHIFT, P, pseudo, # dwindle
|
|
bind = $mainMod, J, togglesplit, # dwindle
|
|
|
|
# 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
|
|
|
|
# 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
|
|
|
|
# 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
|
|
|
|
# Move window silently to workspace Super + Alt + [0-9]
|
|
bind = $mainMod ALT, 1, movetoworkspacesilent, 1
|
|
bind = $mainMod ALT, 2, movetoworkspacesilent, 2
|
|
bind = $mainMod ALT, 3, movetoworkspacesilent, 3
|
|
bind = $mainMod ALT, 4, movetoworkspacesilent, 4
|
|
bind = $mainMod ALT, 5, movetoworkspacesilent, 5
|
|
bind = $mainMod ALT, 6, movetoworkspacesilent, 6
|
|
bind = $mainMod ALT, 7, movetoworkspacesilent, 7
|
|
bind = $mainMod ALT, 8, movetoworkspacesilent, 8
|
|
bind = $mainMod ALT, 9, movetoworkspacesilent, 9
|
|
bind = $mainMod ALT, 0, movetoworkspacesilent, 10
|
|
|
|
# Move active window to a relative workspace with mainMod + CTRL + ALT + [←→]
|
|
bind = $mainMod CTRL ALT, right, movetoworkspace, r+1
|
|
bind = $mainMod CTRL ALT, left, movetoworkspace, r-1
|
|
|
|
# Move active window around current workspace with mainMod + SHIFT + CTRL [←→↑↓]
|
|
bind = $mainMod SHIFT $CONTROL, left, movewindow, l
|
|
bind = $mainMod SHIFT $CONTROL, right, movewindow, r
|
|
bind = $mainMod SHIFT $CONTROL, up, movewindow, u
|
|
bind = $mainMod SHIFT $CONTROL, down, movewindow, d
|
|
|
|
# Example special workspace (scratchpad)
|
|
bind = $mainMod, S, togglespecialworkspace, magic
|
|
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
|
|
|
# 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
|
|
|
|
# Screenshot/Screencapture
|
|
bind = $mainMod, P, exec, $HOME/.config/hypr/scripts/screenshot.sh s # drag to snip an area / click on a window to print it
|
|
bind = $mainMod CTRL, P, exec, $HOME/.config/hypr/scripts/screenshot.sh sf # frozen screen, drag to snip an area / click on a window to print it
|
|
bind = $mainMod ALT, P, exec, $HOME/.config/hypr/scripts/screenshot.sh m # print focused monitor
|
|
bind = ,print, exec, $HOME/.config/hypr/scripts/screenshot.sh p # print all monitor outputs
|
|
|
|
# Audio control
|
|
bindel = , F11, exec, $HOME/.config/hypr/scripts/volumecontrol.sh -o d # decrease volume
|
|
bindel = , F12, exec, $HOME/.config/hypr/scripts/volumecontrol.sh -o i # increase volume
|
|
bindl = , XF86AudioMute, exec, $HOME/.config/hypr/scripts/volumecontrol.sh -o m # toggle audio mute
|
|
bindl = , XF86AudioMicMute, exec, $HOME/.config/hypr/scripts/volumecontrol.sh -i m # toggle microphone mute
|
|
bindel = , XF86AudioLowerVolume, exec, $HOME/.config/hypr/scripts/volumecontrol.sh -o d # decrease volume
|
|
bindel = , XF86AudioRaiseVolume, exec, $HOME/.config/hypr/scripts/volumecontrol.sh -o i # increase volume
|
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
|
bindl = , XF86AudioPause, exec, playerctl play-pause
|
|
bindl = , XF86AudioNext, exec, playerctl next
|
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
|
bind = $mainMod ALT, right, exec, $HOME/.config/hypr/scripts/wallpaper.sh # next wallpaper
|
|
|
|
|
|
bind = $mainMod SHIFT, A, exec, pkill -x rofi || $scrPath/rofiselect.sh # rofi style select menu
|
|
bind = $mainMod SHIFT, W, exec, pkill -x rofi || $scrPath/swwwallselect.sh # rofi wall select menu
|
|
bind = $mainMod, V, exec, pkill -x rofi || $scrPath/cliphist.sh c # open Pasteboard in screen center
|
|
bind = $mainMod, K, exec, $scrPath/keyboardswitch.sh # change keyboard layout
|
|
|
|
# AGS Overview Keybinding
|
|
bind = ALT,tab, exec, ags -t overview
|
|
|
|
# Hyprexpo Keybinding
|
|
bind = ALT, grave,hyprexpo:expo, toggle on
|
|
|
|
# Special Keys
|
|
bind = , xf86monbrightnessup, exec, brightnessctl set 10%+
|
|
bind = , xf86monbrightnessdown, exec, brightnessctl set 10%-
|
|
bind = , xf86audioraisevolume, exec, wpctl set-volume -l 1.0 @DEFAULT_SINK@ 5%+
|
|
bind = , xf86audiolowervolume, exec, wpctl set-volume -l 1.0 @DEFAULT_SINK@ 5%-
|
|
bind = , xf86audiomute, exec, wpctl set-mute @DEFAULT_SINK@ toggle
|
|
|
|
|
|
bind = $mainMod, EQUAL, exec, ~/.config/hypr/scripts/gaps.sh +
|
|
bind = $mainMod, MINUS, exec, ~/scripts/gaps.sh -
|
|
|
|
# Adjust gaps_out
|
|
binde = $mainMod SHIFT, UP, exec, ~/.config/hypr/scripts/gaps_out.sh up
|
|
binde = $mainMod SHIFT, DOWN, exec, ~/.config/hypr/scripts/gaps_out.sh down
|
|
binde = $mainMod SHIFT, left, exec, ~/.config/hypr/scripts/gaps_in.sh down
|
|
binde = $mainMod SHIFT, right, exec, ~/.config/hypr/scripts/gaps_in.sh up
|