From dbdf00df2e6f6d81f061d0ac52c5fead2bfc76ce Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 30 Jan 2025 10:24:14 +0900 Subject: updated copy.sh --- config/hypr/UserConfigs/WindowRules.conf | 25 +++++++++++++++---------- copy.sh | 5 +++++ 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 9882298e..378e1048 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -2,8 +2,6 @@ # For window rules and layerrules # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more -# WINDOWRULE v2 - # windowrule v2 - tags - add apps under appropriate tag to use the same settings # browser tags windowrulev2 = tag +browser, class:^([Ff]irefox|org.mozilla.firefox|[Ff]irefox-esr)$ @@ -13,12 +11,18 @@ windowrulev2 = tag +browser, class:^(Brave-browser(-beta|-dev|-unstable)?)$ windowrulev2 = tag +browser, class:^([Tt]horium-browser|[Cc]achy-browser)$ windowrulev2 = tag +browser, class:^(zen-alpha)$ +# email tags +windowrulev2 = tag +email, class:^([Tt]hunderbird|org.gnome.Evolution)$ +windowrulev2 = tag +email, class:^(eu.betterbird.Betterbird)$ + # project tags -windowrulev2 = tag +projects, class:^(com.obsproject.Studio)$ windowrulev2 = tag +projects, class:^(codium|codium-url-handler|VSCodium)$ windowrulev2 = tag +projects, class:^(VSCode|code-url-handler)$ windowrulev2 = tag +projects, class:^(jetbrains-.+)$ # JetBrains IDEs +# screenshare tags +windowrulev2 = tag +screenshare, class:^(com.obsproject.Studio)$ + # IM tags windowrulev2 = tag +im, class:^([Dd]iscord|[Ww]ebCord|[Vv]esktop)$ windowrulev2 = tag +im, class:^([Ff]erdium)$ @@ -35,6 +39,9 @@ windowrulev2 = tag +gamestore, class:^([Ss]team)$ windowrulev2 = tag +gamestore, title:^([Ll]utris)$ windowrulev2 = tag +gamestore, class:^(com.heroicgameslauncher.hgl)$ +# multimedia tags +windowrulev2 = tag +multimedia, class:^([Aa]udacious)$ + # windowrule v2 - position # windowrulev2 = center,floating:1 # warning, it cause even the menu to float and center. windowrulev2 = center, class:([Tt]hunar), title:negative:(.*[Tt]hunar.*) @@ -52,21 +59,19 @@ windowrulev2 = idleinhibit fullscreen, title:^(*)$ windowrulev2 = idleinhibit fullscreen, fullscreen:1 # windowrule v2 move to workspace -windowrulev2 = workspace 1, class:^([Tt]hunderbird)$ -windowrulev2 = workspace 1, class:^(eu.betterbird.Betterbird)$ -windowrulev2 = workspace 1, class:^(org.gnome.Evolution)$ +windowrulev2 = workspace 1, tag:email* windowrulev2 = workspace 2, tag:browser* -windowrulev2 = workspace 3, class:^([Tt]hunar)$ -windowrulev2 = workspace 4, tag:projects* +#windowrulev2 = workspace 3, class:^([Tt]hunar)$ +windowrulev2 = workspace 3, tag:projects* windowrulev2 = workspace 5, tag:gamestore* windowrulev2 = workspace 7, tag:im* windowrulev2 = workspace 8, tag:games* # windowrule v2 move to workspace (silent) +windowrulev2 = workspace 4 silent, tag:screenshare* windowrulev2 = workspace 6 silent, class:^(virt-manager)$ windowrulev2 = workspace 6 silent, class:^(.virt-manager-wrapped)$ -windowrulev2 = workspace 8, tag:games* -windowrulev2 = workspace 9 silent, class:^([Aa]udacious)$ +windowrulev2 = workspace 9 silent, tag:multimedia* # windowrule v2 - float windowrulev2 = float, class:([Zz]oom|onedriver|onedriver-launcher)$ diff --git a/copy.sh b/copy.sh index 5e85b305..784207c0 100755 --- a/copy.sh +++ b/copy.sh @@ -208,6 +208,11 @@ if command -v blueman-applet >/dev/null 2>&1; then sed -i '/exec-once = blueman-applet &/s/^#//' config/hypr/UserConfigs/Startup_Apps.conf fi +# Check if ags is installed and add ags on Startup +if command -v ags >/dev/null 2>&1; then + sed -i '/exec-once = ags &/s/^#//' config/hypr/UserConfigs/Startup_Apps.conf +fi + printf "\n" # Checking if neovim or vim is installed and offer user if they want to make as default editor -- cgit v1.2.3