forked from Shinonome/dots-hyprland
202 lines
9.7 KiB
Plaintext
Executable File
202 lines
9.7 KiB
Plaintext
Executable File
########################## Language ############################
|
|
bind = SUPERSHIFT, V, exec, ibus engine Bamboo::Us
|
|
bind = SUPERSHIFT, E, exec, ibus engine xkb:us::eng
|
|
bind = SUPER, Space, exec, ~/.config/eww/scripts/language --cycle
|
|
|
|
#################### It just works™ keybinds ###################
|
|
# Volume
|
|
bindl = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
|
|
bindle=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
|
bindle=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|
bindle = , XF86AudioRaiseVolume, exec, ~/.config/eww/scripts/volume osd &
|
|
bindle = , XF86AudioLowerVolume, exec, ~/.config/eww/scripts/volume osd &
|
|
bindl = , XF86AudioMute, exec, ~/.config/eww/scripts/volume osd &
|
|
|
|
# Brightness
|
|
bindle=, XF86MonBrightnessUp, exec, light -A 3 && ~/.config/eww/scripts/brightness osd &
|
|
bindle=, XF86MonBrightnessDown, exec, light -U 3 && ~/.config/eww/scripts/brightness osd &
|
|
|
|
######################################## Keybinds ########################################
|
|
# Apps: just normal apps
|
|
bind = SUPER, C, exec, code --password-store=gnome --enable-features=UseOzonePlatform --ozone-platform=wayland
|
|
bind = CONTROLSHIFTALT, Y, exec, yuzu
|
|
bind = SUPER, T, exec, foot --override shell=fish
|
|
bind = SUPERALT, T, exec, wezterm
|
|
bind = SUPER, Return, exec, kitty
|
|
bind = SUPER, E, exec, nautilus --new-window
|
|
bind = SUPER, W, exec, firefox
|
|
bind = CONTROLSUPERALT, E, exec, /usr/bin/microsoft-edge-stable --password-store=gnome --enable-features=UseOzonePlatform --ozone-platform=wayland --gtk-version=4
|
|
bind = SUPER, X, exec, gnome-text-editor --new-window
|
|
bind = SUPERSHIFT, W, exec, wps
|
|
|
|
# Apps: Settings and config
|
|
bind = SUPER, I, exec, gnome-control-center
|
|
bind = CONTROLSUPER, V, exec, pavucontrol
|
|
bind = CONTROLSHIFT, Escape, exec, gnome-system-monitor
|
|
bind = CONTROLALTSHIFT, Escape, exec, foot -T 'btop' btop
|
|
bind = SUPERSHIFT, I, exec, ~/.local/bin/guifetch
|
|
|
|
|
|
# Actions
|
|
bind = SUPERSHIFT, Period, exec, pkill wofi || wofi-emoji
|
|
bind = SUPER, Period, exec, pkill fuzzel || ~/.local/bin/fuzzel-emoji
|
|
bind = SUPER, Q, killactive,
|
|
bind = SUPERALT, Space, togglefloating,
|
|
bind = SHIFTSUPERALT, Q, exec, hyprctl kill
|
|
bind = CONTROLALT, Delete, exec, pkill wlogout || wlogout -p layer-shell
|
|
bind = CONTROLSHIFTALTSUPER, Delete, exec, systemctl poweroff
|
|
|
|
# Screenshot, Record, OCR (Optical Character Recognition), Color picker, Clipboard history
|
|
bind = SUPERSHIFT, D, exec,~/.local/bin/rubyshot | wl-copy
|
|
bind = SUPERSHIFTALT, S, exec, grim -g "$(slurp)" - | swappy -f -
|
|
bindl =,Print,exec,grim - | wl-copy
|
|
bind = SUPERSHIFT, S, exec, grim -g "$(slurp)" - | wl-copy
|
|
bind = SUPERALT, R, exec, ~/.local/bin/record-script.sh
|
|
bind = CONTROLALT, R, exec, ~/.local/bin/record-script.sh --sound
|
|
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, B, exec, copyq menu
|
|
bind = SUPER, V, exec, pkill fuzzel || cliphist list | fuzzel --no-fuzzy --icon-theme=candy-icons --background-color=1D1D27ee --text-color=cdd6f4ff --match-color=AC16C7FF --border-width=3 --border-radius=10 --border-color=8701E7FF --selection-color=585b70ff --selection-text-color=cdd6f4ff --selection-match-color=AC16C7FF --font="Rubik" --prompt=" " --dmenu | cliphist decode | wl-copy
|
|
|
|
# Media
|
|
bind = SUPERSHIFT, N, exec, playerctl next || playerctl position `bc <<< "100 * $(playerctl metadata mpris:length) / 1000000 / 100"`
|
|
bind = SUPERSHIFT, B, exec, playerctl previous
|
|
bind = SUPERSHIFT, P, exec, playerctl play-pause
|
|
|
|
#Lock screen | blur: --effect-blur=20x20
|
|
bind = SUPER, L, exec, ~/.local/bin/lock.sh
|
|
bind = SUPERSHIFT, L, exec, ~/.local/bin/lock.sh
|
|
bindl = SUPERSHIFT, L, exec, sleep 0.1 && systemctl suspend
|
|
|
|
# App launcher
|
|
bindr = SUPER, SUPER_L, exec, ~/.config/eww/scripts/toggle-overview.sh --keypress &
|
|
bind = SUPER, Slash, exec, pkill fuzzel || fuzzel --icon-theme=candy-icons --background-color=1D1D27ee --text-color=cdd6f4ff --match-color=AC16C7FF --border-width=3 --border-radius=10 --border-color=8701E7FF --selection-color=585b70ff --selection-text-color=cdd6f4ff --selection-match-color=AC16C7FF --font="Rubik" --prompt=" "
|
|
|
|
################################# eww keybinds ################################
|
|
bindr = CONTROLSUPER, R, exec, pkill eww && eww daemon && eww open bar && eww open bottomline
|
|
bind = SUPER, Tab, exec, ~/.config/eww/scripts/toggle-overview.sh &
|
|
bind = SUPER, O, exec, ~/.config/eww/scripts/toggle-osettings.sh --keypress &
|
|
bind = CONTROLSUPER, O, exec, ~/.config/eww/scripts/toggle-osettings.sh --keypress &
|
|
bind = SUPER, M, exec, ~/.config/eww/scripts/toggle-bottombar.sh &
|
|
bind = SUPER, N, exec, ~/.config/eww/scripts/toggle-onotify.sh --keypress &
|
|
bind = SUPER, Comma, exec, ~/.config/eww/scripts/toggle-themer.sh &
|
|
bind = SUPER, D, exec, ~/.config/eww/scripts/toggle-dash.sh --keypress &
|
|
bind = SUPER, A, exec, ~/.config/eww/scripts/toggle-dashfs.sh --keypress &
|
|
bind = SUPER, G, exec, ~/.config/eww/scripts/toggle-wingamebar.sh &
|
|
|
|
bind = CONTROLSUPER, Tab, exec, ~/.config/eww/scripts/toggle-compactmode.sh
|
|
bind = SUPERALT, W, exec, ~/.config/eww/scripts/toggle-winmode.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
|
|
bind = SUPER, BracketLeft, movefocus, l
|
|
bind = SUPER, BracketRight, movefocus, r
|
|
# Window title
|
|
bind = SUPER, left, exec, eww update rev_center_ws=false
|
|
bind = SUPER, right, exec, eww update rev_center_ws=false
|
|
bind = SUPER, up, exec, eww update rev_center_ws=false
|
|
bind = SUPER, down, exec, eww update rev_center_ws=false
|
|
bind = SUPER, BracketLeft, exec, eww update rev_center_ws=false
|
|
bind = SUPER, BracketRight, exec, eww update rev_center_ws=false
|
|
bind = ALT, Tab, exec, eww update rev_center_ws=false
|
|
|
|
# Workspace, window, tab switch with keyboard
|
|
bind = CONTROLSUPER, right, workspace, +1
|
|
bind = CONTROLSUPER, left, workspace, -1
|
|
bind = CONTROLSUPER, BracketLeft, workspace, -1
|
|
bind = CONTROLSUPER, BracketRight, workspace, +1
|
|
bind = CONTROLSUPER, up, workspace, -5
|
|
bind = CONTROLSUPER, down, workspace, +5
|
|
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
|
|
|
|
# Show workspaces module
|
|
bind = CONTROLSUPER, right, exec, eww update rev_center_ws=true
|
|
bind = CONTROLSUPER, left, exec, eww update rev_center_ws=true
|
|
bind = CONTROLSUPER, BracketLeft, exec, eww update rev_center_ws=true
|
|
bind = CONTROLSUPER, BracketRight, exec, eww update rev_center_ws=true
|
|
bind = CONTROLSUPER, up, exec, eww update rev_center_ws=true
|
|
bind = CONTROLSUPER, down, exec, eww update rev_center_ws=true
|
|
bind = SUPER, Page_Down, exec, eww update rev_center_ws=true
|
|
bind = SUPER, Page_Up, exec, eww update rev_center_ws=true
|
|
bind = CONTROLSUPER, Page_Down, exec, eww update rev_center_ws=true
|
|
bind = CONTROLSUPER, Page_Up, exec, eww update rev_center_ws=true
|
|
bind = SUPERSHIFT, Page_Down, exec, eww update rev_center_ws=true
|
|
bind = SUPERSHIFT, Page_Up, exec, eww update rev_center_ws=true
|
|
bind = CONTROLSUPERSHIFT, Right, exec, eww update rev_center_ws=true
|
|
bind = CONTROLSUPERSHIFT, Left, exec, eww update rev_center_ws=true
|
|
bind = SUPERSHIFT, mouse_down, exec, eww update rev_center_ws=true
|
|
bind = SUPERSHIFT, mouse_up, exec, eww update rev_center_ws=true
|
|
|
|
# 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 = SUPER, S, togglespecialworkspace,
|
|
bind = CONTROLSUPER, S, togglespecialworkspace,
|
|
bind = ALT, Tab, cyclenext
|
|
bind = ALT, Tab, bringactivetotop, # bring it to the top
|
|
|
|
# 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
|
|
bind = CONTROLSHIFTSUPER, Up, movetoworkspacesilent, special
|
|
bind = SUPERALT, S, movetoworkspacesilent, special
|
|
|
|
# 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, mouse:272, movewindow
|
|
bindm = SUPER, mouse:273, resizewindow
|
|
bindm = SUPER, mouse:274, movewindow
|
|
bindm = SUPER, Z, movewindow
|
|
bind = CONTROLSUPER, Backslash, resizeactive, exact 640 480
|
|
|