mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
10 lines
225 B
Bash
10 lines
225 B
Bash
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
|