2024-03-24 20:51:24 +01:00
|
|
|
{ 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
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = float, class:(scratchbox)
|
2024-03-24 20:51:24 +01:00
|
|
|
windowrulev2 = size 1200 800, class:(scratchbox)
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = move center, class:(scratchbox)
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# blueman
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = float, class:(blueman-manager), title:(Bluetooth Devices)
|
2024-03-24 20:51:24 +01:00
|
|
|
windowrulev2 = size 1000 800, class:(blueman-manager), title:(Bluetooth Devices)
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = move center, class:(blueman-manager), title:(Bluetooth Devices)
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# clipse
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = float, class:(clipse)
|
2024-03-24 20:51:24 +01:00
|
|
|
windowrulev2 = size 1000 800, class:(clipse)
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = move center, class:(clipse)
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# save as
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = float, title:(Save As)
|
2024-03-24 20:51:24 +01:00
|
|
|
windowrulev2 = size 1000 800, title:(Save As)
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = move center, title:(Save As)
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# open file
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = float, title:(Open File)
|
2024-03-24 20:51:24 +01:00
|
|
|
windowrulev2 = size 1000 800, title:(Open File)
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = move center, title:(Open File)
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# add folder to workspace
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = float, title:(Add Folder to Workspace)
|
2024-03-24 20:51:24 +01:00
|
|
|
windowrulev2 = size 1000 800, title:(Add Folder to Workspace)
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = move center, title:(Add Folder to Workspace)
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# network manager tui
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = float, class:(nmtui), title:(Alacritty)
|
2024-03-24 20:51:24 +01:00
|
|
|
windowrulev2 = size 1180 792, class:(nmtui), title:(Alacritty)
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = move center, class:(nmtui), title:(Alacritty)
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# nos teletekst
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = float, class:(nostt), title:(Alacritty)
|
|
|
|
windowrulev2 = size 455 660, class:(nostt), title:(Alacritty)
|
|
|
|
windowrulev2 = move center, class:(nostt), title:(Alacritty)
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# satty
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = float, class:(com.gabm.satty), title:(satty)
|
|
|
|
windowrulev2 = size 1400 900, class:(com.gabm.satty), title:(satty)
|
|
|
|
windowrulev2 = move center, class:(com.gabm.satty), title:(satty)
|
2024-03-24 20:51:24 +01:00
|
|
|
|
|
|
|
# solaar
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = float, class:(solaar), title:(solaar)
|
2024-03-24 20:51:24 +01:00
|
|
|
windowrulev2 = size 1000 800, class:(solaar), title:(solaar)
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = move center, class:(solaar), title:(solaar)
|
2024-03-24 20:51:24 +01:00
|
|
|
|
2024-03-25 10:54:10 +01:00
|
|
|
# trayscale
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = float, class:(dev.deedles.Trayscale), title:(Trayscale)
|
2024-03-25 10:54:10 +01:00
|
|
|
windowrulev2 = size 1000 800, class:(dev.deedles.Trayscale), title:(Trayscale)
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = move center, class:(dev.deedles.Trayscale), title:(Trayscale)
|
2024-03-25 10:54:10 +01:00
|
|
|
|
2024-03-24 20:51:24 +01:00
|
|
|
# volume control
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = float, title:(Volume Control)
|
2024-03-31 23:35:23 +02:00
|
|
|
windowrulev2 = size 1000 800, title:(Volume Control)
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = move center, title:(Volume Control)
|
2024-03-25 17:14:57 +01:00
|
|
|
|
|
|
|
# wofi
|
2024-04-08 14:34:17 +02:00
|
|
|
windowrulev2 = forceinput, class:(wofi)
|
|
|
|
windowrulev2 = windowdance, class:(wofi)
|
|
|
|
windowrulev2 = stayfocused, class:(wofi)
|
2024-03-24 20:51:24 +01:00
|
|
|
'';
|
|
|
|
}
|