mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-06 04:20:23 +00:00
* feat: enable vim keys for btop * feat: add migration for btop vim keys * Cleanup --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
10 lines
225 B
Bash
Executable File
10 lines
225 B
Bash
Executable File
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
|