✨ feat(hypr): added bindings and workspace rules for kitty and nvim
This commit is contained in:
parent
938f6bbb7e
commit
ca7d199d57
2 changed files with 26 additions and 1 deletions
|
@ -13,11 +13,12 @@ bind=SUPER,Z,exec,pypr zoom
|
|||
|
||||
## Applications
|
||||
bind=SUPER,W,exec,~/.config/hypr/scripts/custom_app_launch librewolf
|
||||
bind=SUPERSHIFT,C,exec,code
|
||||
bind=SUPER,O,exec,~/.config/hypr/scripts/custom_app_launch obsidian
|
||||
bind=SUPERSHIFT,O,exec,~/.config/hypr/scripts/custom_app_launch office
|
||||
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
|
||||
|
||||
# Launchers
|
||||
bind=SUPER, 23, exec, rofi -show drun -theme ~/.config/rofi/style.rasi # tab
|
||||
|
|
|
@ -24,6 +24,8 @@ case $app in
|
|||
hyprctl dispatch exec [workspace 10] obsidian
|
||||
elif [ "$FOCUSED_MONITOR" = "$MONITOR2" ]; then
|
||||
hyprctl dispatch exec [workspace 20] obsidian
|
||||
elif [ "$FOCUSED_MONITOR" = "$MONITOR3" ]; then
|
||||
hyprctl dispatch exec [workspace 30] obsidian
|
||||
else
|
||||
obsidian
|
||||
fi
|
||||
|
@ -33,10 +35,32 @@ case $app in
|
|||
hyprctl dispatch exec [workspace 10] libreoffice
|
||||
elif [ "$FOCUSED_MONITOR" = "$MONITOR2" ]; then
|
||||
hyprctl dispatch exec [workspace 20] libreoffice
|
||||
elif [ "$FOCUSED_MONITOR" = "$MONITOR3" ]; then
|
||||
hyprctl dispatch exec [workspace 30] libreoffice
|
||||
else
|
||||
libreoffice
|
||||
fi
|
||||
;;
|
||||
"kitty")
|
||||
if [ "$FOCUSED_MONITOR" = "$MONITOR1" ]; then
|
||||
hyprctl dispatch exec [workspace 3] kitty
|
||||
elif [ "$FOCUSED_MONITOR" = "$MONITOR2" ]; then
|
||||
hyprctl dispatch exec [workspace 13] kitty
|
||||
elif [ "$FOCUSED_MONITOR" = "$MONITOR3" ]; then
|
||||
hyprctl dispatch exec "[workspace 24] kitty --class center-float"
|
||||
else
|
||||
kitty
|
||||
fi
|
||||
;;
|
||||
"nvim")
|
||||
if [ "$FOCUSED_MONITOR" = "$MONITOR1" ]; then
|
||||
hyprctl dispatch exec [workspace 2] kitty nvim
|
||||
elif [ "$FOCUSED_MONITOR" = "$MONITOR2" ]; then
|
||||
hyprctl dispatch exec [workspace 12] kitty nvim
|
||||
else
|
||||
kitty nvim
|
||||
fi
|
||||
;;
|
||||
# I DONT KNOW WHY LIBREWOLF IS NOT WORKING ._.
|
||||
"librewolf")
|
||||
if [ "$FOCUSED_MONITOR" = "$MONITOR1" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue