mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Add private browser key binding (#1324)
* 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>
This commit is contained in:
6
migrations/1757866485.sh
Normal file
6
migrations/1757866485.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
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
|
||||
Reference in New Issue
Block a user