From bb6809888a7f0262695946ee514c71ae50dfc6e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Tue, 16 Jan 2024 12:44:48 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20config(hypr):=20add=20vsco?= =?UTF-8?q?dium=20rules=20and=20binds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/hypr/configs/binds.conf | 2 +- .config/hypr/scripts/custom_app_launch | 8 ++++---- .config/hypr/themes/luna/rules.conf | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.config/hypr/configs/binds.conf b/.config/hypr/configs/binds.conf index a276bd5a..33772a6c 100644 --- a/.config/hypr/configs/binds.conf +++ b/.config/hypr/configs/binds.conf @@ -20,7 +20,7 @@ bind = SUPER, RETURN, exec, kitty bind = SUPERALT, RETURN, exec, kitty --class=center-float-large 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 +bind = SUPERSHIFT, BACKSPACE, exec, ~/.config/hypr/scripts/custom_app_launch codium # Pickers/Launchers bind = SUPER, 23, exec, rofi -show drun # Tab diff --git a/.config/hypr/scripts/custom_app_launch b/.config/hypr/scripts/custom_app_launch index 046d0294..7287424e 100755 --- a/.config/hypr/scripts/custom_app_launch +++ b/.config/hypr/scripts/custom_app_launch @@ -61,13 +61,13 @@ case $app in kitty nvim & fi ;; -"neovide") +"codium") if [ "$FOCUSED_MONITOR" = "$MONITOR1" ]; then - hyprctl dispatch workspace 2 && neovide & + hyprctl dispatch workspace 2 && codium & elif [ "$FOCUSED_MONITOR" = "$MONITOR2" ]; then - hyprctl dispatch workspace 12 && neovide & + hyprctl dispatch workspace 12 && codium & else - neovide + codium fi ;; "librewolf") diff --git a/.config/hypr/themes/luna/rules.conf b/.config/hypr/themes/luna/rules.conf index e3571f50..ffba965f 100644 --- a/.config/hypr/themes/luna/rules.conf +++ b/.config/hypr/themes/luna/rules.conf @@ -46,7 +46,7 @@ windowrulev2 = workspace 5, class:^(.*pinta.*)$|(.*krita.*)$|(.*blender.*)$|(.*U # Productivity/Dev windowrulev2 = workspace 10 silent, class:^(.*obsidian.*)$ -windowrulev2 = workspace 2, class:^(.*Code.*)$ +windowrulev2 = workspace 2, class:^(.*Code.*)$|(.*codium.*)$ ## Scratchpads