diff --git a/README.md b/README.md index 9a99de8..5343f0c 100644 --- a/README.md +++ b/README.md @@ -9,10 +9,10 @@ For my neovim config, see [here](https://git.janishutz.com/janishutz/nvim) ![screenshot of desktop with 2 screens](./assets/screenshot.png) -I am currently working on redoing my keybinds for Hyprland, in what I call `hyprmode`: +I am currently working on redoing my keybinds for Hyprland, in what I call `hyprvim`: They are going to use submaps and will be significantly different, yet still familiar. This will enable me to have many more keybinds with reasonable starter bindings. -I will also update Astal to have a mode indicator if `hyprmode` is enabled. +I will also update Astal to have a mode indicator if `hyprvim` is enabled. ## Features - Astal4 based Status Bar and Quick Actions menu diff --git a/config/hypr/hyprland/modal-binds/README.md b/config/hypr/hyprland/modal-binds/README.md index 9e443c9..2854683 100644 --- a/config/hypr/hyprland/modal-binds/README.md +++ b/config/hypr/hyprland/modal-binds/README.md @@ -1,4 +1,4 @@ -# Hyprmode +# hyprvim Using Vim Motions and in general vim-style commands is really neat - so why not apply to the Window Manager as well? ## Mapping diff --git a/setup b/setup index 371fa54..595e074 100755 --- a/setup +++ b/setup @@ -55,19 +55,19 @@ else fi # ──────────────────────────────────────────────────────────────────── -# Hyprmode config -hyprmode="" -if [[ -f ~/.config/hyprmode ]]; then - echo "Hyprmode config already specified, skipping" - hyprmode=$(cat ~/.config/hyprmode) +# hyprvim config +hyprvim="" +if [[ -f ~/.config/hyprvim ]]; then + echo "hyprvim config already specified, skipping" + hyprvim=$(cat ~/.config/hyprvim) else - read -p "Would you like to use Hyprmode? (Y/n) " hyprmode + read -p "Would you like to use hyprvim? (Y/n) " hyprvim fi -hyprmode=$(echo "$hyprmode" | tr '[:upper:]' '[:lower:]') -if [[ "$hyprmode" == "" ]]; then - hyprmode="y" +hyprvim=$(echo "$hyprvim" | tr '[:upper:]' '[:lower:]') +if [[ "$hyprvim" == "" ]]; then + hyprvim="y" fi -echo "$hyprmode" >~/.config/hyprmode +echo "$hyprvim" >~/.config/hyprvim # ──────────────────────────────────────────────────────────────────── echo "=> Moving configs to correct destinations" @@ -88,12 +88,12 @@ else cp -f ~/.config/hypr/hyprland_laptop.conf ~/.config/hypr/hyprland.conf fi -# Enable or disable "Hyprmode" (using hyprland with vim-inspired modes) -if [[ "$hyprmode" == "y" ]]; then - echo "Enabling hyprmode" +# Enable or disable "hyprvim" (using hyprland with vim-inspired modes) +if [[ "$hyprvim" == "y" ]]; then + echo "Enabling hyprvim" mv -f ~/.config/hypr/hyprland/mode-binds.conf ~/.config/hypr/hyprland/binds.conf else - echo "Disabling hyprmode" + echo "Disabling hyprvim" rm -rf ~/.config/hypr/hyprland/modal-binds rm ~/.config/hypr/hyprland/mode-binds.conf fi