[Hyprland] Update readmes
This commit is contained in:
@@ -9,10 +9,10 @@ For my neovim config, see [here](https://git.janishutz.com/janishutz/nvim)
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
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.
|
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.
|
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
|
## Features
|
||||||
- Astal4 based Status Bar and Quick Actions menu
|
- Astal4 based Status Bar and Quick Actions menu
|
||||||
|
|||||||
@@ -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?
|
Using Vim Motions and in general vim-style commands is really neat - so why not apply to the Window Manager as well?
|
||||||
|
|
||||||
## Mapping
|
## Mapping
|
||||||
|
|||||||
28
setup
28
setup
@@ -55,19 +55,19 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# ────────────────────────────────────────────────────────────────────
|
# ────────────────────────────────────────────────────────────────────
|
||||||
# Hyprmode config
|
# hyprvim config
|
||||||
hyprmode=""
|
hyprvim=""
|
||||||
if [[ -f ~/.config/hyprmode ]]; then
|
if [[ -f ~/.config/hyprvim ]]; then
|
||||||
echo "Hyprmode config already specified, skipping"
|
echo "hyprvim config already specified, skipping"
|
||||||
hyprmode=$(cat ~/.config/hyprmode)
|
hyprvim=$(cat ~/.config/hyprvim)
|
||||||
else
|
else
|
||||||
read -p "Would you like to use Hyprmode? (Y/n) " hyprmode
|
read -p "Would you like to use hyprvim? (Y/n) " hyprvim
|
||||||
fi
|
fi
|
||||||
hyprmode=$(echo "$hyprmode" | tr '[:upper:]' '[:lower:]')
|
hyprvim=$(echo "$hyprvim" | tr '[:upper:]' '[:lower:]')
|
||||||
if [[ "$hyprmode" == "" ]]; then
|
if [[ "$hyprvim" == "" ]]; then
|
||||||
hyprmode="y"
|
hyprvim="y"
|
||||||
fi
|
fi
|
||||||
echo "$hyprmode" >~/.config/hyprmode
|
echo "$hyprvim" >~/.config/hyprvim
|
||||||
|
|
||||||
# ────────────────────────────────────────────────────────────────────
|
# ────────────────────────────────────────────────────────────────────
|
||||||
echo "=> Moving configs to correct destinations"
|
echo "=> Moving configs to correct destinations"
|
||||||
@@ -88,12 +88,12 @@ else
|
|||||||
cp -f ~/.config/hypr/hyprland_laptop.conf ~/.config/hypr/hyprland.conf
|
cp -f ~/.config/hypr/hyprland_laptop.conf ~/.config/hypr/hyprland.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Enable or disable "Hyprmode" (using hyprland with vim-inspired modes)
|
# Enable or disable "hyprvim" (using hyprland with vim-inspired modes)
|
||||||
if [[ "$hyprmode" == "y" ]]; then
|
if [[ "$hyprvim" == "y" ]]; then
|
||||||
echo "Enabling hyprmode"
|
echo "Enabling hyprvim"
|
||||||
mv -f ~/.config/hypr/hyprland/mode-binds.conf ~/.config/hypr/hyprland/binds.conf
|
mv -f ~/.config/hypr/hyprland/mode-binds.conf ~/.config/hypr/hyprland/binds.conf
|
||||||
else
|
else
|
||||||
echo "Disabling hyprmode"
|
echo "Disabling hyprvim"
|
||||||
rm -rf ~/.config/hypr/hyprland/modal-binds
|
rm -rf ~/.config/hypr/hyprland/modal-binds
|
||||||
rm ~/.config/hypr/hyprland/mode-binds.conf
|
rm ~/.config/hypr/hyprland/mode-binds.conf
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user