⚙️ config(hypr): code workspace rule

This commit is contained in:
Sergio Laín 2023-11-11 16:49:10 +01:00
parent 4816716324
commit 5073a06297
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
3 changed files with 2 additions and 11 deletions

View file

@ -13,7 +13,7 @@ bind=SUPER,Z,exec,pypr zoom
## Applications
bind=SUPER,W,exec,~/.config/hypr/scripts/custom_app_launch librewolf
bind=SUPERSHIFT,C,exec,~/.config/hypr/scripts/custom_app_launch code
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

View file

@ -37,16 +37,6 @@ case $app in
libreoffice
fi
;;
# THIS DOESNT WORK AS WELL SMH
"code")
if [ "$FOCUSED_MONITOR" = "$MONITOR1" ]; then
hyprctl dispatch exec [workspace 2] code
elif [ "$FOCUSED_MONITOR" = "$MONITOR2" ]; then
hyprctl dispatch exec [workspace 12] code
else
code
fi
;;
# I DONT KNOW WHY LIBREWOLF IS NOT WORKING ._.
"librewolf")
if [ "$FOCUSED_MONITOR" = "$MONITOR1" ]; then

View file

@ -27,6 +27,7 @@ windowrulev2 = workspace 18,class:^(steam)$|(.*atlauncher.*)$|(.*heroic.*)$
windowrulev2 = workspace 8,class:^(.*Ryujinx.*)$|(.*cemu.*)$|(.*dolphin.*)$|(.*RetroArch.*)$|(.*xemu.*)$|(.*duckstation.*)$|(.*rpcs3.*)$
# Media
windowrulev2 = workspace 2,class:^(.*Code.*)$
windowrulev2 = workspace 9,class:^(.*virt-manager.*)$
windowrulev2 = workspace 17,class:^(.*obsproject.*)$
windowrulev2 = workspace 6,class:^(.*vital.*)$|(.*fl64.*)$