✨ feat(hypr): added neovide rule
This commit is contained in:
parent
f746fa4554
commit
4b1cbfdd0f
2 changed files with 10 additions and 0 deletions
|
@ -19,6 +19,7 @@ bind=SUPERSHIFT,E,exec, ~/.config/hypr/scripts/custom_app_launch nemo
|
|||
bind=SUPER,RETURN,exec,kitty
|
||||
bind=SUPERSHIFT,RETURN,exec,~/.config/hypr/scripts/custom_app_launch kitty
|
||||
bind=SUPER,BackSpace,exec,~/.config/hypr/scripts/custom_app_launch nvim
|
||||
bind=SUPERSHIFT,BackSpace,exec,~/.config/hypr/scripts/custom_app_launch neovide
|
||||
|
||||
# Launchers
|
||||
bind=SUPER, 23, exec, rofi -show drun -theme ~/.config/rofi/style.rasi # tab
|
||||
|
|
|
@ -61,6 +61,15 @@ case $app in
|
|||
kitty nvim
|
||||
fi
|
||||
;;
|
||||
"neovide")
|
||||
if [ "$FOCUSED_MONITOR" = "$MONITOR1" ]; then
|
||||
hyprctl dispatch workspace 2 && neovide
|
||||
elif [ "$FOCUSED_MONITOR" = "$MONITOR2" ]; then
|
||||
hyprctl dispatch workspace 12 && neovide
|
||||
else
|
||||
neovide
|
||||
fi
|
||||
;;
|
||||
"librewolf")
|
||||
if [ "$FOCUSED_MONITOR" = "$MONITOR1" ]; then
|
||||
hyprctl dispatch workspace 1 && librewolf # Had to to this because it didnt work the other way
|
||||
|
|
Loading…
Add table
Reference in a new issue