Allow custom editor, like we do custom terminal (#1697)

This commit is contained in:
David Heinemeier Hansson
2025-09-16 15:14:29 +02:00
committed by GitHub
parent 7e1c88b932
commit bf0c2cc9a5
8 changed files with 58 additions and 34 deletions

View File

@@ -7,7 +7,7 @@ bindd = SUPER, F, File manager, exec, uwsm app -- nautilus --new-window
bindd = SUPER, B, Browser, exec, $browser
bindd = SUPER SHIFT, B, Browser (private), exec, $browser --private
bindd = SUPER, M, Music, exec, omarchy-launch-or-focus spotify
bindd = SUPER, N, Neovim, exec, $terminal -e nvim
bindd = SUPER, N, Editor, exec, omarchy-launch-editor
bindd = SUPER, T, Activity, exec, $terminal -e btop
bindd = SUPER, D, Docker, exec, $terminal -e lazydocker
bindd = SUPER, G, Signal, exec, omarchy-launch-or-focus signal "uwsm app -- signal-desktop"

4
config/uwsm/default Normal file
View File

@@ -0,0 +1,4 @@
# Changes require a relaunch of Hyprland to take effect.
export TERMINAL=alacritty
export EDITOR=nvim

View File

@@ -4,8 +4,8 @@
export OMARCHY_PATH=$HOME/.local/share/omarchy
export PATH=$OMARCHY_PATH/bin/:$PATH
# Set terminal used by all default commands
export TERMINAL=alacritty
# Set default terminal and editor
source ~/.config/uwsm/default
# Activate mise if present on the system
omarchy-cmd-present mise && eval "$(mise activate bash)"