Files
dotfiles/dot_config/hypr/bindings.conf

52 lines
2.5 KiB
Plaintext

# Application bindings
$terminal = uwsm app -- alacritty
$browser = omarchy-launch-browser
bindd = SUPER, return, Terminal, exec, $terminal --working-directory=$(omarchy-cmd-terminal-cwd)
bindd = SUPER, F, File manager, exec, uwsm app -- nautilus --new-window
bindd = SUPER, B, Browser, exec, $browser
bindd = SUPER, M, Music, exec, uwsm app -- spotify
bindd = SUPER, N, Notes, exec, heynote
bindd = SUPER, T, Activity, exec, $terminal -e btop
bindd = SUPER ALT, D, Docker, exec, $terminal -e lazydocker
# If your web app url contains #, type it as ## to prevent hyperland treat it as comments
bindd = SUPER, A, Claude, exec, omarchy-launch-webapp "https://claude.ai/new"
bindd = SUPER, E, Email, exec, omarchy-launch-webapp "https://mail.google.com/mail/u/0/"
bindd = SUPER, Y, YouTube, exec, omarchy-launch-webapp "https://youtube.com/"
bindd = SUPER, G, GitLab, exec, omarchy-launch-webapp "https://gitlab.modg.net/"
bindd = SUPER ALT, G, Google Messages, exec, omarchy-launch-webapp "https://messages.google.com/web/conversations"
bindd = SUPER, O, modgoffice, exec, omarchy-launch-webapp "https://office.modg.org"
# lazy apps: Launch if not currently running, otherwise just switch to that app
bindd = SUPER, D, Open/focus DataGrip, exec, ~/.local/bin/lazy-app class:jetbrains-datagrip ~/.local/share/JetBrains/Toolbox/apps/datagrip/bin/datagrip
# Overwrite existing bindings, like putting Omarchy Menu on Super + Space
# unbind = SUPER, Space
# bindd = SUPER, SPACE, Omarchy menu, exec, omarchy-menu
# I have my own screnshot script now
unbind = , PRINT
bindd = , PRINT, Screenshot of region, exec, ~/.local/bin/freezeshot
unbind = SHIFT, PRINT
bindd = SHIFT, PRINT, Screenshot of window, exec, ~/.local/bin/freezeshot window
unbind = CTRL, PRINT
bindd = CTRL, PRINT, Screenshot of display, exec, ~/.local/bin/freezeshot output
# create a new workspace
bindd = SUPER, grave, Create a mew workspace, exec, ~/.local/bin/new-workspace
# keybinds for background apps
bindd = SUPER, S, Show/hide Slack, togglespecialworkspace, slack
bindd = SUPER, period, 1Password quick access, exec, 1password --quick-access
bindd = SUPER CTRL, period, Show/hide 1Password, togglespecialworkspace, 1password
bindd = SUPER, Z, Show Creddy, exec, creddy shortcut show-window
# I'm used to super+L to lock screen
bindd = SUPER, L, Lock screen, exec, omarchy-lock-screen
# I don't want ctrl+alt+delete to affect my "special" apps
unbind = CTRL ALT, DELETE
bindd = CTRL ALT, DELETE, Close all windows (except special), exec, ~/.local/bin/close-non-special-windows