mirror of
https://github.com/marcogll/omarchy_setup.git
synced 2026-01-13 13:25:16 +00:00
refactor(hypr_config): Improve bindings documentation and organization; update font in hyprlock.conf
This commit is contained in:
@@ -1,33 +1,113 @@
|
|||||||
# Application bindings
|
################################################################################
|
||||||
|
# HYPRLAND BINDINGS #
|
||||||
|
################################################################################
|
||||||
|
# Cómo funcionan los bindings:
|
||||||
|
#
|
||||||
|
# bindd = MODIFICADORES, TECLA, Nombre, exec, comando
|
||||||
|
#
|
||||||
|
# • MODIFICADORES = SUPER | SHIFT | CTRL | ALT (puedes combinarlos)
|
||||||
|
# • TECLA = tecla física: RETURN, C, T, ESCAPE, etc.
|
||||||
|
# • Nombre = etiqueta descriptiva (solo texto)
|
||||||
|
# • exec = ejecuta un comando (lo más usado)
|
||||||
|
#
|
||||||
|
# Notas:
|
||||||
|
# - Cada binding debe tener TODOS los parámetros.
|
||||||
|
# - Si una línea queda incompleta, Hyprland marcará un error.
|
||||||
|
# - Si duplicas una combinación de teclas, Hyprland usa la última.
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
# ------------------------------
|
||||||
|
# Variables (solo comodidad)
|
||||||
|
# ------------------------------
|
||||||
$terminal = uwsm-app -- xdg-terminal-exec
|
$terminal = uwsm-app -- xdg-terminal-exec
|
||||||
$browser = omarchy-launch-browser
|
$browser = omarchy-launch-browser
|
||||||
|
|
||||||
bindd = SUPER, RETURN, Terminal, exec, $terminal --dir="$(omarchy-cmd-terminal-cwd)"
|
|
||||||
bindd = SUPER, E, File manager, exec, uwsm-app -- nautilus --new-window
|
|
||||||
bindd = SUPER SHIFT, B, Browser, exec, $browser
|
|
||||||
bindd = SUPER SHIFT ALT, B, Browser (private), exec, $browser --private
|
|
||||||
bindd = SUPER SHIFT, M, Music, exec, omarchy-launch-or-focus spotify
|
|
||||||
bindd = SUPER SHIFT, N, Editor, exec, omarchy-launch-editor
|
|
||||||
bindd = SUPER SHIFT, T, Activity, exec, $terminal -e btop
|
|
||||||
bindd = SUPER SHIFT, D, Docker, exec, $terminal -e lazydocker
|
|
||||||
bindd = SUPER SHIFT, G, Signal, exec, omarchy-launch-or-focus signal "uwsm-app -- signal-desktop"
|
|
||||||
bindd = SUPER SHIFT, O, Obsidian, exec, omarchy-launch-or-focus "^obsidian$" "uwsm-app -- obsidian -disable-gpu --enable-wayland-ime"
|
|
||||||
bindd = SUPER SHIFT, W, Typora, exec, uwsm-app -- typora --enable-wayland-ime
|
|
||||||
bindd = SUPER SHIFT, SLASH, Passwords, exec, uwsm-app -- 1password
|
|
||||||
|
|
||||||
# If your web app url contains #, type it as ## to prevent hyprland treating it as a comment
|
|
||||||
|
################################################################################
|
||||||
|
# APPLICATION BINDS #
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# Terminal con cwd actual (SUPER + ENTER)
|
||||||
|
bindd = SUPER, RETURN, Terminal, exec, $terminal --dir="$(omarchy-cmd-terminal-cwd)"
|
||||||
|
|
||||||
|
# Explorador de archivos (SUPER + E)
|
||||||
|
bindd = SUPER, E, File Manager, exec, uwsm-app -- nautilus --new-window
|
||||||
|
|
||||||
|
# Navegador normal (SUPER + SHIFT + B)
|
||||||
|
bindd = SUPER SHIFT, B, Browser, exec, $browser
|
||||||
|
|
||||||
|
# Navegador privado (SUPER + SHIFT + ALT + B)
|
||||||
|
bindd = SUPER SHIFT ALT, B, Browser Private, exec, $browser --private
|
||||||
|
|
||||||
|
# Spotify (SUPER + SHIFT + M)
|
||||||
|
bindd = SUPER SHIFT, M, Music, exec, omarchy-launch-or-focus spotify
|
||||||
|
|
||||||
|
# Editor (omarchy) (SUPER + SHIFT + N)
|
||||||
|
bindd = SUPER SHIFT, N, Editor, exec, omarchy-launch-editor
|
||||||
|
|
||||||
|
# Monitor del sistema tipo Windows (CTRL + SHIFT + ESCAPE)
|
||||||
|
bindd = CTRL SHIFT, ESCAPE, Activity Monitor, exec, $terminal -e btop
|
||||||
|
|
||||||
|
# Lazydocker (SUPER + SHIFT + D)
|
||||||
|
bindd = SUPER SHIFT, D, Docker, exec, $terminal -e lazydocker
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# WEB APP BINDINGS #
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# ChatGPT (SUPER + SHIFT + A)
|
||||||
bindd = SUPER SHIFT, A, ChatGPT, exec, omarchy-launch-webapp "https://chatgpt.com"
|
bindd = SUPER SHIFT, A, ChatGPT, exec, omarchy-launch-webapp "https://chatgpt.com"
|
||||||
bindd = SUPER SHIFT ALT, A, Grok, exec, omarchy-launch-webapp "https://grok.com"
|
|
||||||
|
# Grok (SUPER + SHIFT + G)
|
||||||
|
bindd = SUPER SHIFT, G, Grok, exec, omarchy-launch-webapp "https://grok.com"
|
||||||
|
|
||||||
|
# Google Calendar (SUPER + SHIFT + C)
|
||||||
bindd = SUPER SHIFT, C, Calendar, exec, omarchy-launch-webapp "https://calendar.google.com/"
|
bindd = SUPER SHIFT, C, Calendar, exec, omarchy-launch-webapp "https://calendar.google.com/"
|
||||||
|
|
||||||
|
# Gmail (SUPER + SHIFT + E)
|
||||||
bindd = SUPER SHIFT, E, Email, exec, omarchy-launch-webapp "https://mail.google.com/"
|
bindd = SUPER SHIFT, E, Email, exec, omarchy-launch-webapp "https://mail.google.com/"
|
||||||
|
|
||||||
|
# YouTube (SUPER + SHIFT + Y)
|
||||||
bindd = SUPER SHIFT, Y, YouTube, exec, omarchy-launch-webapp "https://youtube.com/"
|
bindd = SUPER SHIFT, Y, YouTube, exec, omarchy-launch-webapp "https://youtube.com/"
|
||||||
bindd = SUPER SHIFT ALT, G, WhatsApp, exec, omarchy-launch-or-focus-webapp WhatsApp "https://web.whatsapp.com/"
|
|
||||||
bindd = SUPER SHIFT CTRL, G, Google Messages, exec, omarchy-launch-or-focus-webapp "Google Messages" "https://messages.google.com/web/conversations"
|
|
||||||
bindd = SUPER SHIFT, P, Google Photos, exec, omarchy-launch-or-focus-webapp "Google Photos" "https://photos.google.com/"
|
|
||||||
bindd = SUPER SHIFT, X, X, exec, omarchy-launch-webapp "https://x.com/"
|
|
||||||
bindd = SUPER SHIFT ALT, X, X Post, exec, omarchy-launch-webapp "https://x.com/compose/post"
|
|
||||||
|
|
||||||
# Overwrite existing bindings, like putting Omarchy Menu on Super + Space
|
# WhatsApp Web (SUPER + SHIFT + W)
|
||||||
|
bindd = SUPER SHIFT, W, WhatsApp, exec, omarchy-launch-or-focus-webapp WhatsApp "https://web.whatsapp.com/"
|
||||||
|
|
||||||
|
# Google Photos (SUPER + SHIFT + P)
|
||||||
|
bindd = SUPER SHIFT, P, Google Photos, exec, omarchy-launch-or-focus-webapp "Google Photos" "https://photos.google.com/"
|
||||||
|
|
||||||
|
# Jules (SUPER + SHIFT + J)
|
||||||
|
bindd = SUPER SHIFT, J, Jules, exec, omarchy-launch-webapp "https://jules.google.com/"
|
||||||
|
|
||||||
|
# Outlook (SUPER + ALT + O)
|
||||||
|
bindd = SUPER ALT, O, Outlook, exec, omarchy-launch-webapp "https://outlook.com/"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# APPS NATIVAS #
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
# Telegram Desktop (SUPER + SHIFT + T)
|
||||||
|
bindd = SUPER SHIFT, T, Telegram, exec, omarchy-launch-or-focus "^TelegramDesktop$" "/usr/bin/Telegram"
|
||||||
|
|
||||||
|
# VS Code (SUPER + SHIFT + V)
|
||||||
|
bindd = SUPER SHIFT, V, VSCode, exec, uwsm-app -- code
|
||||||
|
|
||||||
|
# Antigravity (SUPER + ALT + V)
|
||||||
|
bindd = SUPER ALT, V, Antigravity, exec, /home/marco/.antigravity/antigravity --password-store="gnome-libsecret"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# OPTIONAL OVERRIDES #
|
||||||
|
################################################################################
|
||||||
|
# Ejemplo: poner Omarchy Menu en SUPER + SPACE
|
||||||
# unbind = SUPER, SPACE
|
# unbind = SUPER, SPACE
|
||||||
# bindd = SUPER, SPACE, Omarchy menu, exec, omarchy-menu
|
# bindd = SUPER, SPACE, Omarchy Menu, exec, omarchy-menu
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ env = HYPRCURSOR_THEME,Bibata-Modern-Ice
|
|||||||
env = HYPRCURSOR_SIZE,24
|
env = HYPRCURSOR_SIZE,24
|
||||||
env = XCURSOR_THEME,Bibata-Modern-Ice
|
env = XCURSOR_THEME,Bibata-Modern-Ice
|
||||||
env = XCURSOR_SIZE,24
|
env = XCURSOR_SIZE,24
|
||||||
|
env = OMARCHY_SCREENSHOT_DIR,$HOME/Pictures/Screenshots
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ input-field {
|
|||||||
outer_color = $outer_color
|
outer_color = $outer_color
|
||||||
outline_thickness = 4
|
outline_thickness = 4
|
||||||
|
|
||||||
font_family = CaskaydiaMono Nerd Font Propo
|
font_family = MesloLGLDZ Nerd Font
|
||||||
font_color = $font_color
|
font_color = $font_color
|
||||||
|
|
||||||
placeholder_text = Enter Password
|
placeholder_text = Enter Password
|
||||||
|
|||||||
@@ -342,7 +342,12 @@ EOF
|
|||||||
if command_exists teamviewer; then
|
if command_exists teamviewer; then
|
||||||
log_info "Habilitando servicio TeamViewer..."
|
log_info "Habilitando servicio TeamViewer..."
|
||||||
sudo systemctl enable --now teamviewerd.service 2>/dev/null || true
|
sudo systemctl enable --now teamviewerd.service 2>/dev/null || true
|
||||||
log_success "TeamViewer daemon habilitado e iniciado"
|
if sudo teamviewer --daemon start >/dev/null 2>&1; then
|
||||||
|
log_success "TeamViewer daemon iniciado"
|
||||||
|
else
|
||||||
|
log_warning "No se pudo iniciar el daemon de TeamViewer con 'teamviewer --daemon start'"
|
||||||
|
fi
|
||||||
|
sudo teamviewer --daemon enable >/dev/null 2>&1 || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command_exists tlp; then
|
if command_exists tlp; then
|
||||||
|
|||||||
Reference in New Issue
Block a user