mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 04:20:23 +00:00
* Add private browser key binding * Include other Firefox-based browsers * Simplify implementation * Add migration to add the hotkey --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
7 lines
336 B
Bash
7 lines
336 B
Bash
echo "Add SUPER + SHIFT + B to start browser in private mode"
|
|
|
|
if [[ -f ~/.config/hypr/bindings.conf ]] && grep -q "SUPER, B, Browser, exec" ~/.config/hypr/bindings.conf; then
|
|
sed -i '/^bindd = SUPER, B, Browser, exec, \$browser$/a\
|
|
bindd = SUPER SHIFT, B, Browser (private), exec, $browser --private' ~/.config/hypr/bindings.conf
|
|
fi
|