forked from Shinonome/dots-hyprland
130 lines
5.6 KiB
Plaintext
Executable File
130 lines
5.6 KiB
Plaintext
Executable File
# For language and volume button -related stuff, see the main config file (hyprland.conf)
|
|
|
|
######################################## Keybinds ########################################
|
|
# Apps: just normal apps
|
|
bind = CONTROLSUPER, C, exec, code
|
|
bind = CONTROLSHIFTALT, Y, exec, yuzu
|
|
bind = SUPER, T, exec, foot
|
|
bind = SUPER, E, exec, nautilus --new-window
|
|
bind = SUPER, W, exec, firefox
|
|
bind = SUPER, G, exec, gnome-text-editor --new-window
|
|
bind = SUPERSHIFT, W, exec, wps
|
|
bind = CONTROLSUPERALT, E, exec, /usr/bin/microsoft-edge-stable --password-store=gnome --enable-features=UseOzonePlatform --ozone-platform=wayland --gtk-version=4
|
|
|
|
#Apps: Settings and config
|
|
bind = SUPER, I, exec, gnome-control-center
|
|
bind = CONTROLSUPER, V, exec, pavucontrol
|
|
bind = CONTROLSHIFT, Escape, exec, foot btop
|
|
|
|
# Actions
|
|
bind = SUPER, Period, exec, pkill wofi || wofi-emoji
|
|
bind = SUPER, Q, killactive,
|
|
bind = SUPERALT, Space, togglefloating,
|
|
bind = SHIFTSUPERALT, Q, exec, hyprctl kill
|
|
bind = CONTROLALT, Delete, exit,
|
|
bind = CONTROLSHIFTALTSUPER, Delete, exec, systemctl poweroff
|
|
|
|
# Screenshot, Record, OCR (Optical Character Recognition), Color picker, Clipboard history
|
|
bind =,Print,exec,screenshot -p=./Pictures/Screenshots -a=copy
|
|
bind = SUPERSHIFT, S, exec, screenshot -t=select -a=copy -p=./Pictures/Screenshots/
|
|
bind = SUPERALT, R, exec, ~/.local/bin/record-script.sh
|
|
bind = SUPERSHIFTALT, R, exec, ~/.local/bin/record-script-fullscreen.sh
|
|
bind = CONTROLSUPERSHIFT,S,exec,grim -g "$(slurp)" "tmp.png" && tesseract "tmp.png" - | wl-copy && rm "tmp.png"
|
|
bind = SUPERSHIFT,T,exec,grim -g "$(slurp)" "tmp.png" && tesseract "tmp.png" - | wl-copy && rm "tmp.png"
|
|
bind = SUPERSHIFT, C, exec, hyprpicker -a
|
|
bind = SUPER, V, exec, pkill wofi || cliphist list | wofi --show dmenu --gtk-dark -i | cliphist decode | wl-copy
|
|
# Media
|
|
bind = SUPERSHIFT, N, exec, playerctl next
|
|
bind = SUPERSHIFT, B, exec, playerctl previous
|
|
bind = SUPERSHIFT, P, exec, playerctl play-pause
|
|
#Lock screen | blur: --effect-blur=20x20
|
|
bind = SUPERALT, L, exec, ~/.local/bin/lock.sh
|
|
bind = SUPERSHIFT, L, exec, ~/.local/bin/lock.sh
|
|
bindl = SUPERSHIFT, L, exec, sleep 1 && systemctl suspend
|
|
# App launcher
|
|
bindr = SUPER, SUPER_L, exec, pkill fuzzel || fuzzel --icon-theme=candy-icons fuzzel --background-color=1D1D27ee --text-color=cdd6f4ff --match-color=7AA2F7FF --border-width=3 --border-radius=10 --border-color=0DB7D4FF --selection-color=585b70ff --selection-text-color=cdd6f4ff --selection-match-color=89b4faff --font="Gabarito" --prompt=" "
|
|
|
|
# eww keybinds
|
|
bind = SUPER, N, exec, eww open --toggle notifications
|
|
bindr = CONTROLSUPER, R, exec, kill eww && eww open bar
|
|
bind = SUPER, A, exec, eww open --toggle win-workspace
|
|
bind = SUPER, Tab, exec, eww open --toggle overview && eww update selected=_none
|
|
bind = SUPER, O, exec, ~/.config/eww/scripts/toggle-osettings.sh
|
|
bind = CONTROLSUPER, O, exec, ~/.config/eww/scripts/toggle-osettings.sh
|
|
|
|
|
|
############################ Keybinds for Hyprland ############################
|
|
# Swap windows
|
|
bind=SUPERSHIFT,left,movewindow,l
|
|
bind=SUPERSHIFT,right,movewindow,r
|
|
bind=SUPERSHIFT,up,movewindow,u
|
|
bind=SUPERSHIFT,down,movewindow,d
|
|
# Move focus
|
|
bind = SUPER, left, movefocus, l
|
|
bind = SUPER, right, movefocus, r
|
|
bind = SUPER, up, movefocus, u
|
|
bind = SUPER, down, movefocus, d
|
|
# Vim-like stuff
|
|
bind = SUPER, H, movefocus, l
|
|
bind = SUPER, L, movefocus, r
|
|
bind = SUPER, K, movefocus, u
|
|
bind = SUPER, J, movefocus, d
|
|
bind = CONTROLSUPER, H, workspace, -1
|
|
bind = CONTROLSUPER, J, workspace, +1
|
|
bind = CONTROLSUPER, K, workspace, -1
|
|
bind = CONTROLSUPER, L, workspace, +1
|
|
# Workspace, window, tab switch with keyboard
|
|
bind = CONTROLSUPER, right, workspace, +1
|
|
bind = CONTROLSUPER, left, workspace, -1
|
|
bind = SUPER, Page_Down, workspace, +1
|
|
bind = SUPER, Page_Up, workspace, -1
|
|
bind = CONTROLSUPER, Page_Down, workspace, +1
|
|
bind = CONTROLSUPER, Page_Up, workspace, -1
|
|
bind = SUPERSHIFT, Page_Down, movetoworkspace, +1
|
|
bind = SUPERSHIFT, Page_Up, movetoworkspace, -1
|
|
bind = CONTROLSUPERSHIFT, Right, movetoworkspace, +1
|
|
bind = CONTROLSUPERSHIFT, Left, movetoworkspace, -1
|
|
bind = SUPERSHIFT, mouse_down, movetoworkspace, -1
|
|
bind = SUPERSHIFT, mouse_up, movetoworkspace, +1
|
|
# Window split ratio
|
|
binde = SUPER, Minus, splitratio, -0.1
|
|
binde = SUPER, Equal, splitratio, 0.1
|
|
binde = SUPER, Semicolon, splitratio, -0.1
|
|
binde = SUPER, Apostrophe, splitratio, 0.1
|
|
# Fullscreen
|
|
bind = SUPER, F, fullscreen
|
|
# Switching
|
|
bind = SUPER, 1, workspace, 1
|
|
bind = SUPER, 2, workspace, 2
|
|
bind = SUPER, 3, workspace, 3
|
|
bind = SUPER, 4, workspace, 4
|
|
bind = SUPER, 5, workspace, 5
|
|
bind = SUPER, 6, workspace, 6
|
|
bind = SUPER, 7, workspace, 7
|
|
bind = SUPER, 8, workspace, 8
|
|
bind = SUPER, 9, workspace, 9
|
|
bind = SUPER, 0, workspace, 10
|
|
bind = ALT, Tab, cyclenext # Why is this even here?
|
|
# Move window to workspace Super + Alt + [0-9]
|
|
bind = SUPER ALT, 1, movetoworkspacesilent, 1
|
|
bind = SUPER ALT, 2, movetoworkspacesilent, 2
|
|
bind = SUPER ALT, 3, movetoworkspacesilent, 3
|
|
bind = SUPER ALT, 4, movetoworkspacesilent, 4
|
|
bind = SUPER ALT, 5, movetoworkspacesilent, 5
|
|
bind = SUPER ALT, 6, movetoworkspacesilent, 6
|
|
bind = SUPER ALT, 7, movetoworkspacesilent, 7
|
|
bind = SUPER ALT, 8, movetoworkspacesilent, 8
|
|
bind = SUPER ALT, 9, movetoworkspacesilent, 9
|
|
bind = SUPER ALT, 0, movetoworkspacesilent, 10
|
|
# Scroll through existing workspaces with (Control) + Super + scroll
|
|
bind = SUPER, mouse_up, workspace, +1
|
|
bind = SUPER, mouse_down, workspace, -1
|
|
bind = CONTROLSUPER, mouse_up, workspace, +1
|
|
bind = CONTROLSUPER, mouse_down, workspace, -1
|
|
# Move/resize windows with Super + LMB/RMB and dragging
|
|
bindm = SUPER, C, movewindow
|
|
bindm = SUPER, mouse:272, movewindow
|
|
bindm = SUPER, mouse:273, resizewindow
|
|
bindm = SUPER, mouse:274, movewindow
|
|
bind = CONTROLSUPER, Backslash, resizeactive, exact 640 480
|