Added better sway config defaults

This commit is contained in:
Nathan Anderson 2024-03-18 21:29:58 -06:00
parent 6183e24f9a
commit 5838527b6c
2 changed files with 12 additions and 12 deletions

View File

@ -14,6 +14,9 @@ for_window [class="Telegram"] focus
for_window [app_id="xed"] focus
# default keepass main window to scratch
for_window [app_id="org.keepassxc.KeePassXC"] $floating_window
for_window [app_id="org.keepassxc.KeePassXC" title="KeePassXC"] move to scratchpad #, scratchpad show # default to show
# set floating (nontiling)for apps needing it:
for_window [class="Yad" instance="yad"] floating enable

View File

@ -71,31 +71,28 @@ bar {
swaybar_command waybar
}
set $opacity 0.88
set $opacity 0.8
set $floating_window floating enable, resize set width 1030 height 710, opacity 1.0
for_window {
[class=".*"] opacity $opacity
[app_id=".*"] opacity $opacity
[app_id="firefox"] opacity 1.0
[app_id="corectrl"] opacity 1.0
[app_id="org.keepassxc.KeePassXC"] $floating_window, move to scratchpad, sratchpad show, opacity 1.0
[app_id="pavucontrol"] opacity 1.0
[app_id="oversteer"] opacity 1.0
[class=".*"] opacity 1.0
[app_id=".*"] opacity 1.0
[app_id="foot"] opacity $opacity
[app_id="thunar"] opacity $opacity
# Steam
[class="steam_app.*"] inhibit_idle fullscreen; floating enable; border none opacity 1.0
[class="steam"] opacity 1.0
[class="leagueclientux.exe"] opacity 1.0
[class="obsidian"] opacity 1.0
[title="(?:Open|Save|Save New|Open a) (?:File|Folder|As|Scene As)"] $floating_window
# Godot windows
[title="(?:Godot)"] opacity 1.0
[title="(?:Create New|Select Frames|project.godot|node)"] $floating_window
[title="(?:Create Folder|Node Configuration|Warning|Please Confirm)"] $floating_window, resize set height 200
# Aseprite
[title="(?:Aseprite)"] opacity 1.0
# Floating windows
[title="(?:Open|Save|Save New|Open a) (?:File|Folder|As|Scene As)"] $floating_window
[window_role="pop-up"] $floating_window
[window_role="bubble"] $floating_window
[window_role="task_dialog"] $floating_window