# vim: ft=i3config # NOTE: never use assign, it crashes sway for some reason... # for_window [floating] border csd for_window [app_id="[tT]elegram[-_][dD]esktop"] mark mail for_window [app_id="[tT]elegram[-_][dD]esktop" title="Choose Files"] floating enable; exec centercon -w .6 for_window [app_id="[tT]elegram[-_][dD]esktop" title="Media viewer"] floating enable for_window [app_id="[tT]elegram[-_][dD]esktop" title="TelegramDesktop"] floating enable for_window [app_id="^__floating-.*"] floating enable for_window [app_id="com.github.wwmm.easyeffects"] floating enable; border none; exec centercon -w .4 for_window [app_id="(fire|libre|work)fox" title="Picture-in-Picture"] floating enable, sticky enable, border none for_window [app_id="(fire|libre|work)fox" title="Sharing Indicator$"] floating enable, border none, sticky enable; exec centercon 1 tr; focus mode_toggle for_window [app_id="(fire|libre|work)fox" title="^About Mozilla Firefox$"] floating enable for_window [app_id="(fire|libre|work)fox" title="^Close tabs?"] floating enable # for_window [app_id="firefox" title="^Developer Tools"] floating enable for_window [app_id="(fire|libre|work)fox" title="^Extension: (Yomichan)"] floating enable for_window [app_id="(fire|libre|work)fox" title="^File Upload$"] floating enable for_window [app_id="(fire|libre|work)fox" title="^Open Firefox in Troubleshoot Mode?$"] floating enable for_window [app_id="(fire|libre|work)fox" title="^Save As$"] floating enable for_window [app_id="(fire|libre|work)fox"] mark browser for_window [app_id="imv"] floating enable; inhibit_idle open for_window [app_id="launcher"] floating enable for_window [app_id="mpv"] floating enable; inhibit_idle fullscreen for_window [app_id="mpv"] max_render_time off # for_window [app_id="mpv" title=".* - mvi$"] border pixel $bpix; for_window [app_id="obs" title="^Local File$"] floating enable; exec centercon -w .6 for_window [app_id="org.polymc.PolyMC" title="$Console"] floating enable for_window [app_id="slack"] mark mail for_window [app_id="zoom" title="Settings"] floating enable for_window [app_id="zoom" title="^as_toolbar$"] floating enable for_window [app_id="zoom" title="^zoom$"] floating enable for_window [class="Chromium-browser"] mark browser #for_window [class="discord"] mark mail #for_window [class="parsecd"] inhibit_idle fullscreen #for_window [class="pinentry"] floating enable; border normal for_window [con_mark="browser"] inhibit_idle fullscreen # fix primary clipboard paste not working for_window [con_mark="browser"] bindsym Shift-Insert exec 'wl-paste -p -n | wtype -' for_window [title="tridactyledit"] floating enable set $outputSide eDP-1 for_window [con_mark="work"] move workspace $wsWork for_window [con_mark="mail"] move workspace $wsMail, move workspace to output $outputSide, layout tabbed #for_window [class="Spotify"] move workspace $wsMusic, move workspace to output $outputSide #for_window [class="osu!"] move workspace $wsGame, layout tabbed, exec osu-mode on for_window [app_id="org.keepassxc.KeePassXC"] move scratchpad; scratchpad show #for_window [class="Gvncviewer"] move workspace __vnc; fullscreen for_window [app_id="retroarch"] fullscreen #for_window [class="^Minecraft"] fullscreen; sway output - scale 1 for_window [app_id="gramps"] floating disable for_window [app_id="xdg-desktop-portal-gtk"] floating enable