Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ██████╗ ██╗███╗ ██╗██████╗ ██╗███╗ ██╗ ██████╗ ███████╗
- -- ██╔══██╗██║████╗ ██║██╔══██╗██║████╗ ██║██╔════╝ ██╔════╝
- -- ██████╔╝██║██╔██╗ ██║██║ ██║██║██╔██╗ ██║██║ ███╗███████╗
- -- ██╔══██╗██║██║╚██╗██║██║ ██║██║██║╚██╗██║██║ ██║╚════██║
- -- ██████╔╝██║██║ ╚████║██████╔╝██║██║ ╚████║╚██████╔╝███████║
- -- ╚═════╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚══════╝
- -- ~/.config/hypr/bindings.lua
- -- Unbind Omarchy bindings.
- hl.unbind("SUPER + T", "Toggle window floating/tiling", hl.dsp.window.float({ action = "toggle" }))
- hl.unbind("SUPER + F", "Full screen", hl.dsp.window.fullscreen({ mode = "fullscreen" }))
- hl.unbind("SUPER + W", "Close window", hl.dsp.window.close())
- hl.unbind("SUPER + RETURN", "Terminal", { omarchy = "terminal" })
- hl.unbind("SUPER + SHIFT + RETURN", "Browser", { omarchy = "browser" })
- hl.unbind("SUPER + SHIFT + F", "File manager", { omarchy = "nautilus" })
- hl.unbind("SUPER + SHIFT + B", "Browser", { omarchy = "browser" })
- hl.unbind("SUPER + SHIFT + N", "Editor", { omarchy = "editor" })
- hl.unbind("SUPER + CTRL + ALT + T", "Show time", "omarchy-notification-time")
- hl.unbind("SUPER + CTRL + ALT + B", "Show battery remaining", "omarchy-notification-battery")
- hl.unbind("SUPER + CTRL + ALT + W", "Show weather", "omarchy-notification-weather")
- hl.unbind("SUPER + CTRL + T", "Activity", { tui = "btop" })
- hl.unbind("SUPER + SHIFT + CTRL + R", "Clear reminders", "omarchy-reminder clear")
- hl.unbind("SUPER + SHIFT + ALT + B", "Browser (private)", { omarchy = "browser --private" })
- hl.unbind("SUPER + SHIFT + ALT + M", "Music TUI", { tui = "cliamp", focus = true })
- hl.unbind("SUPER + CTRL + L", "Lock system", "omarchy-system-lock")
- hl.unbind("PRINT", "Screenshot", "omarchy-capture-screenshot")
- hl.unbind("ALT + PRINT", "Screenrecording", "screenrecord")
- hl.unbind("SUPER + PRINT", "Color picker", "pkill hyprpicker || hyprpicker -a")
- hl.unbind("SUPER + CTRL + PRINT", "Extract text (OCR) from screenshot", "omarchy-capture-text-extraction")
- -- ---------------------------------------------------------------------------------------------------------------------------------
- -- Modified Omarchy bindings.
- o.bind("SUPER + Y", "Toggle window floating/tiling", hl.dsp.window.float({ action = "toggle" }))
- o.bind("ALT + F", "Full screen", hl.dsp.window.fullscreen({ mode = "fullscreen" }))
- o.bind("SUPER + SHIFT + Q", "Close window", hl.dsp.window.close())
- -- Application bindings.
- o.bind("SUPER + T", "Terminal", { omarchy = "terminal" })
- o.bind("SUPER + ALT + RETURN", "Tmux", { omarchy = "terminal-tmux" })
- o.bind("SUPER + F", "File manager", { omarchy = "nautilus" })
- o.bind("SUPER + ALT + F", "File manager (cwd)", { omarchy = "nautilus-cwd" })
- o.bind("SUPER + B", "Chromium", { omarchy = "browser" })
- o.bind("SUPER + M", "Spotify", { omarchy = "or-focus spotify" })
- o.bind("SUPER + CTRL + ALT + M", "cliamp", { tui = "cliamp", focus = true })
- o.bind("SUPER + N", "Neovim", { omarchy = "editor" })
- -- Web app bindings.
- o.bind("SUPER + SHIFT + A", "ChatGPT", { webapp = "https://chatgpt.com" })
- o.bind("SUPER + SHIFT + ALT + A", "Grok", { webapp = "https://grok.com" })
- o.bind("SUPER + SHIFT + CTRL + C", "Calendar", { omarchy = "browser calendar.google.com" })
- o.bind("SUPER + SHIFT + CTRL + G", "Email", { omarchy = "browser gmail.com" })
- o.bind("SUPER + SHIFT + CTRL + M", "Messages", { webapp = "https://messages.google.com/web/conversations", focus = true })
- o.bind("SUPER + SHIFT + CTRL + P", "Photos", { webapp = "https://photos.google.com/", focus = true })
- -- ---------------------------------------------------------------------------------------------------------------------------------
- -- My custom application bindings.
- o.bind("SUPER + D", "Vesktop", { launch = "vesktop", focus = true })
- o.bind("SUPER + W", "Firefox", { launch = "firefox", focus = true })
- o.bind("SUPER + SHIFT + CTRL + A", "Reload Nautilus", { launch = "~/bin/nautilus-restart.sh" })
- o.bind("SUPER + SHIFT + CTRL + R", "Reload Omarchy theme", { launch = "~/bin/reload-omarchy-theme.sh" })
- o.bind("SUPER + SHIFT + CTRL + S", "Startup", { launch = "~/bin/startup" })
- o.bind("SUPER + SHIFT + CTRL + T", "Random Omarchy theme", { launch = "~/bin/random-omarchy-theme.sh" })
- o.bind("SUPER + SHIFT + CTRL + W", "Waifu", { launch = "find /home/username/Pictures/Waifu -type f | shuf | imv -s crop -t 15 -W 250 -H 700" })
- o.bind("SUPER + SHIFT + ALT + P", "Restart waybar", { launch = "omarchy-restart-waybar" })
- o.bind("SUPER + SHIFT + N", "VS Code", { launch = "code" })
- o.bind("SUPER + SHIFT + R", "Exit Gaming Mode", { launch = "/home/username/.local/share/steam-launcher/leave-gamesmode" })
- o.bind("SUPER + SHIFT + S", "Steam Gaming Mode", { launch = "ghostty -e /home/username/.local/share/steam-launcher/enter-gamesmode" })
- o.bind("SUPER + SHIFT + XF86AudioRaiseVolume", "Volume MAX", { launch = "pactl set-sink-volume @DEFAULT_SINK@ 150%" })
- o.bind("SHIFT + XF86AudioRaiseVolume", "Volume maximum", { launch = "pactl set-sink-volume @DEFAULT_SINK@ 100%" })
- o.bind("SHIFT + XF86AudioLowerVolume", "Volume minimum", { launch = "pactl set-sink-volume @DEFAULT_SINK@ 1%" })
- o.bind("SUPER + ALT + M", "Minecraft", { launch = "prime-run minecraft-launcher" })
- o.bind("SUPER + ALT + O", "Openspades", { launch = "prime-run openspades" })
- o.bind("INSERT", "Grabbershooter", { launch = "~/bin/grabbershooter" })
- --o.bind("PRINT", "Screenshot", "omarchy-capture-screenshot")
- --o.bind_menu("ALT + PRINT", "Screenrecording", "screenrecord")
- o.bind("SUPER + CTRL + P", "Color picker", "pkill hyprpicker || hyprpicker -a")
- --o.bind("SUPER + CTRL + PRINT", "Extract text (OCR) from screenshot", "omarchy-capture-text-extraction")
- o.bind("CTRL + ALT + L", "Lock Screen", { launch = "hyprlock" })
- o.bind("SUPER + CTRL + ALT + L", "Launch screensaver", { launch = "omarchy-launch-screensaver" })
- o.bind("CTRL + 1", "Open theme installer window", "omarchy-launch-floating-terminal-with-presentation omarchy-theme-install")
- o.bind("CTRL + 2", "Edit .bash_aliases", { launch = "geany ~/.bash_aliases" })
- o.bind("CTRL + 3", "Edit bindings.conf", { launch = "geany ~/.config/hypr/bindings.lua" })
- o.bind("CTRL + 4", "Edit waybar files", { launch = "geany ~/.config/waybar/config.jsonc ~/.config/waybar/style.css" })
- o.bind("CTRL + 5", "Edit ghostty config", { launch = "geany ~/.config/ghostty/config" })
- -- ---------------------------------------------------------------------------------------------------------------------------------
- -- My custom cli bindings.
- o.bind("SUPER + ALT + CTRL + B", "btop", { launch = "ghostty -e btop" })
- o.bind("SUPER + ALT + CTRL + C", "cmatrix", { launch = "ghostty -e cmatrix -C green -u 9 -b" })
- o.bind("SUPER + ALT + CTRL + E", "cava", { launch = "ghostty -e cava" })
- o.bind("SUPER + ALT + CTRL + G", "nvtop", { launch = "ghostty -e nvtop" })
- o.bind("SUPER + ALT + CTRL + H", "htop", { launch = "ghostty -e htop" })
- o.bind("SUPER + ALT + CTRL + O", "omarchyy", { launch = "ghostty -e bash -c 'omarchyy; exec bash'" })
- o.bind("SUPER + ALT + CTRL + P", "pyradio", { launch = "ghostty -e pyradio" })
- o.bind("SUPER + ALT + CTRL + T", "tty-clock", { launch = "ghostty -e tty-clock -c -C 6 -D" })
- -- ---------------------------------------------------------------------------------------------------------------------------------
- -- Favorite themes
- o.bind("SUPER + SHIFT + CTRL + ALT + 1", "Favorite theme tokyo-night", { launch = "omarchy-theme-set tokyo-night" })
- o.bind("SUPER + SHIFT + CTRL + ALT + 2", "Favorite theme rose-pine-dark", { launch = "omarchy-theme-set rose-pine-dark" })
- o.bind("SUPER + SHIFT + CTRL + ALT + 3", "Favorite theme vantablacky", { launch = "omarchy-theme-set vantablacky" })
- o.bind("SUPER + SHIFT + CTRL + ALT + 4", "Favorite theme florida-man", { launch = "omarchy-theme-set florida-man" })
- o.bind("SUPER + SHIFT + CTRL + ALT + 5", "Favorite theme waffle-cat", { launch = "omarchy-theme-set waffle-cat" })
- o.bind("SUPER + SHIFT + CTRL + ALT + 6", "Favorite theme solitude", { launch = "omarchy-theme-set solitude" })
- o.bind("SUPER + SHIFT + CTRL + ALT + 7", "Favorite theme tokyoled", { launch = "omarchy-theme-set tokyoled" })
- o.bind("SUPER + SHIFT + CTRL + ALT + 8", "Favorite theme carbonfox", { launch = "omarchy-theme-set carbonfox" })
- o.bind("SUPER + SHIFT + CTRL + ALT + 9", "Favorite theme untitled", { launch = "omarchy-theme-set untitled" })
- o.bind("SUPER + SHIFT + CTRL + ALT + 0", "Favorite theme dark-modern", { launch = "omarchy-theme-set dark-modern" })
- -- ---------------------------------------------------------------------------------------------------------------------------------
- --o.bind("SUPER + SHIFT + D", "Docker", { tui = "lazydocker" })
- --o.bind("SUPER + SHIFT + G", "Signal", { launch = "signal-desktop", focus = "^signal$" })
- --o.bind("SUPER + SHIFT + O", "Obsidian", { launch = "obsidian", focus = "^obsidian$" })
- --o.bind("SUPER + SHIFT + W", "Typora", { launch = "typora --enable-wayland-ime" })
- --o.bind("SUPER + SHIFT + SLASH", "Passwords", { launch = "1password" })
- --o.bind("SUPER + SHIFT + E", "Email", { webapp = "https://app.hey.com" })
- --o.bind("SUPER + SHIFT + Y", "YouTube", { webapp = "https://youtube.com/" })
- --o.bind("SUPER + SHIFT + ALT + G", "WhatsApp", { webapp = "https://web.whatsapp.com/", focus = true })
- --o.bind("SUPER + SHIFT + CTRL + G", "Google Messages", { webapp = "https://messages.google.com/web/conversations", focus = true })
- --o.bind("SUPER + SHIFT + P", "Google Photos", { webapp = "https://photos.google.com/", focus = true })
- --o.bind("SUPER + SHIFT + S", "Google Maps", { webapp = "https://maps.google.com/", focus = true })
- --o.bind("SUPER + SHIFT + X", "X", { webapp = "https://x.com/" })
- --o.bind("SUPER + SHIFT + ALT + X", "X Post", { webapp = "https://x.com/compose/post" })
- -- o.bind("SUPER + SHIFT + R", "SSH", "alacritty -e ssh your-server")
- -- Overwrite existing bindings with hl.unbind() first if needed.
- -- hl.unbind("SUPER + SPACE")
- -- o.bind("SUPER + SPACE", "Omarchy menu", "omarchy-menu")
- -- Logitech MX Keys examples:
- -- o.bind("SUPER + SHIFT + S", nil, "omarchy-capture-screenshot")
- -- o.bind("SUPER + H", nil, "voxtype record toggle")
- -- o.bind("SUPER + PERIOD", nil, { omarchy = "walker -m symbols" })
Advertisement