mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
sway: modular config
This commit is contained in:
parent
93a6613abc
commit
050799b77f
17 changed files with 264 additions and 193 deletions
21
home/dot_config/sway/modules/win-rules
Normal file
21
home/dot_config/sway/modules/win-rules
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# vim:ft=swayconfig
|
||||
|
||||
# https://gitlab.com/that1communist/dotfiles/-/blob/master/.config/sway/modules/win-rules
|
||||
|
||||
# for_window [title=".*Picture in picture.*"] floating enable,
|
||||
|
||||
set {
|
||||
$ii inhibit_idle focus
|
||||
$game inhibit_idle focus; floating enable; border none; fullscreen enable; shadows disable
|
||||
$popup floating enable; border pixel 1; sticky enable; shadows enable
|
||||
$float floating enable; border pixel 1; shadows enable
|
||||
$video inhibit_idle fullscreen; border none; max_render_time off
|
||||
$important inhibit_idle open; floating enable; border pixel 1
|
||||
$max inhibit_idle visible; floating enable; sticky enable; border pixel 1
|
||||
}
|
||||
|
||||
|
||||
for_window [title="^Picture in picture.*$"] $popup
|
||||
|
||||
# Generic rules for file dialog
|
||||
for_window [title="(?:Open|Save) (?:File|Folder|As)"] floating enable, resize set width 1030 height 710
|
||||
Loading…
Add table
Add a link
Reference in a new issue