Skip to content

Conversation

martinmose
Copy link
Contributor

Omarchy already ships with Vim-like keybindings so let's use vim keys for btop as well 🙏

@martinmose
Copy link
Contributor Author

Do we need a migration for this? 🤔
Something like...

#!/bin/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

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant