diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 9ecd620..bb09f09 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -154,30 +154,29 @@ source = ./conf/input.conf source = ./conf/keybindings.conf -############################## -### WINDOWS AND WORKSPACES ### -############################## +# ╭──────────────────────────────────────────────────────────╮ +# │ WINDOWRULES │ +# ╰──────────────────────────────────────────────────────────╯ +# ──────────────────────────────── copyq ────────────────────────────── +windowrule = size 300 400,^(copyq)$ +windowrule = float,com.github.hluk.copyq +windowrule = move onscreen cursor,com.github.hluk.copyq -# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more -# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules - -# Example windowrule v1 -# windowrule = float, ^(kitty)$ -windowrule = size 300 400,(copyq) - - -# Browser Picture in Picture +# ────────────────────── Browser Picture in Picture ────────────────────── windowrulev2 = float, title:^(Picture-in-Picture)$ windowrulev2 = pin, title:^(Picture-in-Picture)$ windowrulev2 = move 69.5% 4%, title:^(Picture-in-Picture)$ +# ──────────────────────── telegram media viewer ────────────────────── +windowrulev2 = float, title:(Media viewer) +windowrulev2 = fullscreen, title:^(Media viewer)$ # different floating modals windowrule = maxsize 400 300, (blueman|io.crow_translate.CrowTranslate) -windowrule = float, (copyq|pavucontrol|blueman-manager|wofi|rofi|imv|io.crow_translate.CrowTranslate) -windowrule = pin, (copyq|pavucontrol|blueman-manager|wofi|rofi|io.crow_translate.CrowTranslate) -windowrule = stayfocused, (copyq|pavucontrol|blueman-manager|wofi|rofi|io.crow_translate.CrowTranslate) -windowrule = move onscreen cursor,(copyq|pavucontrol|blueman-manager|imv|io.crow_translate.CrowTranslate) +windowrule = float, (pavucontrol|blueman-manager|wofi|rofi|imv|io.crow_translate.CrowTranslate) +windowrule = pin, (pavucontrol|blueman-manager|wofi|rofi|io.crow_translate.CrowTranslate) +windowrule = stayfocused, (pavucontrol|blueman-manager|wofi|rofi|io.crow_translate.CrowTranslate) +windowrule = move onscreen cursor,(pavucontrol|blueman-manager|imv|io.crow_translate.CrowTranslate) windowrule = center, (wofi) windowrule = workspace 3, title:^(.*)(Telegram)(.*)$