85 lines
3.5 KiB
Plaintext
85 lines
3.5 KiB
Plaintext
# basic
|
|||
|
|
bind = $mainMod, return, exec, $terminal
|
||
|
|
bind = $mainMod SHIFT, Q, killactive,
|
||
|
|
bind = $mainMod SHIFT, X, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit
|
||
|
|
bind = $mainMod, E, exec, $fileManager
|
||
|
|
bind = $mainMod, M, togglefloating,
|
||
|
|
bind = $mainMod, F, fullscreen, 0
|
||
|
|
bind = $mainMod, D, exec, $menu
|
||
|
|
bind = $mainMod, P, pseudo,
|
||
|
|
bind = $mainMod, J, layoutmsg, togglesplit
|
||
|
|
bind = $mainMod, V, exec, rofi -modi clipboard:~/.config/rofi/cliphist-rofi-img -show clipboard -show-icons -theme ~/.config/rofi/clipboard.rasi
|
||
|
|
bind = , Print, exec, AREA=$(slurp) && grim -g "$AREA" - | wl-copy && notify-send -u low "Screenshot" "Captured: $AREA"
|
||
|
|
bind = SUPER, Print, exec, ACTIVE_CLASS=$(hyprctl activewindow -j | jq -r '.class') && hyprctl -j activewindow | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"' | grim -g - - | wl-copy && notify-send -u low "Screenshot" "Captured: $ACTIVE_CLASS"
|
||
|
|
bind = CTRL, Print, exec, MONITOR=$(hyprctl monitors -j | jq -r '.[] | select(.focused) | .name') && grim -o "$MONITOR" - | wl-copy && notify-send -u low "Screenshot" "Captured: $MONITOR"
|
||
|
|
|
||
|
|
# movefocus
|
||
|
|
bind = $mainMod, left, movefocus, l
|
||
|
|
bind = $mainMod, right, movefocus, r
|
||
|
|
bind = $mainMod, up, movefocus, u
|
||
|
|
bind = $mainMod, down, movefocus, d
|
||
|
|
|
||
|
|
# movewindow
|
||
|
|
bind = $mainMod SHIFT, left, movewindow, l
|
||
|
|
bind = $mainMod SHIFT, right, movewindow, r
|
||
|
|
bind = $mainMod SHIFT, up, movewindow, u
|
||
|
|
bind = $mainMod SHIFT, down, movewindow, d
|
||
|
|
|
||
|
|
# workspace
|
||
|
|
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
|
||
|
|
|
||
|
|
# movetoworkspace
|
||
|
|
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
|
||
|
|
|
||
|
|
# scratchpad
|
||
|
|
bind = $mainMod, S, togglespecialworkspace, scratchpad
|
||
|
|
bind = $mainMod SHIFT, S, movetoworkspace, special:scratchpad
|
||
|
|
bind = $mainMod CTRL, S, movetoworkspace, e+0
|
||
|
|
|
||
|
|
# movewindow / resizewindow
|
||
|
|
bindm = $mainMod, mouse:272, movewindow
|
||
|
|
bindm = $mainMod, mouse:273, resizewindow
|
||
|
|
|
||
|
|
# multimedia
|
||
|
|
bindel = $mainMod, F7, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||
|
|
bindel = $mainMod, F8, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||
|
|
bindel = $mainMod, F8, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||
|
|
bindel = $mainMod, F9, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
||
|
|
|
||
|
|
# playerctl
|
||
|
|
bindl = $mainMod, F10, exec, playerctl previous
|
||
|
|
bindl = $mainMod, F11, exec, playerctl play-pause
|
||
|
|
bindl = $mainMod, F12, exec, playerctl next
|
||
|
|
|
||
|
|
# resize mode
|
||
|
|
bind = $mainMod, R, exec, hyprctl keyword general:col.active_border "rgb(e3a1d2)"
|
||
|
|
bind = $mainMod, R, submap, resize
|
||
|
|
|
||
|
|
submap = resize
|
||
|
|
binde = , right, resizeactive, 20 0
|
||
|
|
binde = , left, resizeactive, -20 0
|
||
|
|
binde = , up, resizeactive, 0 -20
|
||
|
|
binde = , down, resizeactive, 0 20
|
||
|
|
bind = , escape, exec, hyprctl keyword general:col.active_border "rgb(a8afe1)"
|
||
|
|
bind = , escape, submap, reset
|
||
|
|
bind = , return, exec, hyprctl keyword general:col.active_border "rgb(a8afe1)"
|
||
|
|
bind = , return, submap, reset
|
||
|
|
submap = reset
|