This repository has been archived on 2024-07-10. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles-nix/nix/home/hyprland/hyprland-window_rules.nix

87 lines
3.0 KiB
Nix

{ config, ... }:
{
# include hyprland configs
home.file.".config/hypr/window_rules.conf".text = ''
# master section
master {
new_is_master = true
}
# window rules
windowrule = float, confirm|confirmreset
windowrule = float, dialog|download
windowrule = float, error|eog
windowrule = float, file-roller|file_progress
windowrule = float, Lxappearance|notification
windowrule = float, splash
windowrule = float, title:branchdialog
windowrule = float, title:Nextcloud
# alacritty
windowrulev2 = float, class:(scratchbox)
windowrulev2 = size 1200 800, class:(scratchbox)
windowrulev2 = move center, class:(scratchbox)
# blueman
windowrulev2 = float, class:(blueman-manager), title:(Bluetooth Devices)
windowrulev2 = size 1000 800, class:(blueman-manager), title:(Bluetooth Devices)
windowrulev2 = move center, class:(blueman-manager), title:(Bluetooth Devices)
# clipse
windowrulev2 = float, class:(clipse)
windowrulev2 = size 1000 800, class:(clipse)
windowrulev2 = move center, class:(clipse)
# save as
windowrulev2 = float, title:(Save As)
windowrulev2 = size 1000 800, title:(Save As)
windowrulev2 = move center, title:(Save As)
# open file
windowrulev2 = float, title:(Open File)
windowrulev2 = size 1000 800, title:(Open File)
windowrulev2 = move center, title:(Open File)
# add folder to workspace
windowrulev2 = float, title:(Add Folder to Workspace)
windowrulev2 = size 1000 800, title:(Add Folder to Workspace)
windowrulev2 = move center, title:(Add Folder to Workspace)
# network manager tui
windowrulev2 = float, class:(nmtui), title:(Alacritty)
windowrulev2 = size 1180 792, class:(nmtui), title:(Alacritty)
windowrulev2 = move center, class:(nmtui), title:(Alacritty)
# nos teletekst
windowrulev2 = float, class:(nostt), title:(Alacritty)
windowrulev2 = size 455 660, class:(nostt), title:(Alacritty)
windowrulev2 = move center, class:(nostt), title:(Alacritty)
# satty
windowrulev2 = float, class:(com.gabm.satty), title:(satty)
windowrulev2 = size 85% 80%, class:(com.gabm.satty), title:(satty)
windowrulev2 = move center, class:(com.gabm.satty), title:(satty)
# solaar
windowrulev2 = float, class:(solaar), title:(solaar)
windowrulev2 = size 1000 800, class:(solaar), title:(solaar)
windowrulev2 = move center, class:(solaar), title:(solaar)
# trayscale
windowrulev2 = float, class:(dev.deedles.Trayscale), title:(Trayscale)
windowrulev2 = size 1000 800, class:(dev.deedles.Trayscale), title:(Trayscale)
windowrulev2 = move center, class:(dev.deedles.Trayscale), title:(Trayscale)
# volume control
windowrulev2 = float, title:(Easy Effects)
windowrulev2 = size 1000 800, title:(Easy Effects)
windowrulev2 = move center, title:(Easy Effects)
# wofi
windowrulev2 = forceinput, class:(wofi)
windowrulev2 = windowdance,class:(wofi)
windowrulev2 = stayfocused,class:(wofi)
'';
}