mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
feat: enable vim keys for btop (#1581)
* feat: enable vim keys for btop * feat: add migration for btop vim keys * Cleanup --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
committed by
GitHub
parent
cac8b03821
commit
56e690b861
9
migrations/1757535736.sh
Executable file
9
migrations/1757535736.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
echo "Enabling vim keys in btop"
|
||||
|
||||
CONFIG_FILE=~/.config/btop/btop.conf
|
||||
|
||||
if [[ -f $CONFIG_FILE ]]; then
|
||||
if grep -q "^vim_keys = " "$CONFIG_FILE"; then
|
||||
sed -i 's/^vim_keys = False/vim_keys = True/' "$CONFIG_FILE"
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user