From 5073a06297e957143274118af73f49342e6f521d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Sat, 11 Nov 2023 16:49:10 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20config(hypr):=20code=20wor?= =?UTF-8?q?kspace=20rule?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/hypr/keybinds/binds.conf | 2 +- .config/hypr/scripts/custom_app_launch | 10 ---------- .config/hypr/themes/luna/rules.conf | 1 + 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.config/hypr/keybinds/binds.conf b/.config/hypr/keybinds/binds.conf index 4e056c0a..cffb7079 100644 --- a/.config/hypr/keybinds/binds.conf +++ b/.config/hypr/keybinds/binds.conf @@ -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 diff --git a/.config/hypr/scripts/custom_app_launch b/.config/hypr/scripts/custom_app_launch index a6c165f4..d25c71ad 100755 --- a/.config/hypr/scripts/custom_app_launch +++ b/.config/hypr/scripts/custom_app_launch @@ -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 diff --git a/.config/hypr/themes/luna/rules.conf b/.config/hypr/themes/luna/rules.conf index e8dc5826..33f3fad1 100644 --- a/.config/hypr/themes/luna/rules.conf +++ b/.config/hypr/themes/luna/rules.conf @@ -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.*)$