Added better sway config defaults
This commit is contained in:
parent
6183e24f9a
commit
5838527b6c
|
@ -14,6 +14,9 @@ for_window [class="Telegram"] focus
|
||||||
|
|
||||||
for_window [app_id="xed"] 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:
|
# set floating (nontiling)for apps needing it:
|
||||||
for_window [class="Yad" instance="yad"] floating enable
|
for_window [class="Yad" instance="yad"] floating enable
|
||||||
|
|
|
@ -71,31 +71,28 @@ bar {
|
||||||
swaybar_command waybar
|
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
|
set $floating_window floating enable, resize set width 1030 height 710, opacity 1.0
|
||||||
|
|
||||||
for_window {
|
for_window {
|
||||||
[class=".*"] opacity $opacity
|
[class=".*"] opacity 1.0
|
||||||
[app_id=".*"] opacity $opacity
|
[app_id=".*"] opacity 1.0
|
||||||
[app_id="firefox"] opacity 1.0
|
[app_id="foot"] opacity $opacity
|
||||||
[app_id="corectrl"] opacity 1.0
|
[app_id="thunar"] opacity $opacity
|
||||||
[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
|
|
||||||
|
|
||||||
|
# Steam
|
||||||
[class="steam_app.*"] inhibit_idle fullscreen; floating enable; border none opacity 1.0
|
[class="steam_app.*"] inhibit_idle fullscreen; floating enable; border none opacity 1.0
|
||||||
[class="steam"] 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
|
# Godot windows
|
||||||
[title="(?:Godot)"] opacity 1.0
|
|
||||||
[title="(?:Create New|Select Frames|project.godot|node)"] $floating_window
|
[title="(?:Create New|Select Frames|project.godot|node)"] $floating_window
|
||||||
[title="(?:Create Folder|Node Configuration|Warning|Please Confirm)"] $floating_window, resize set height 200
|
[title="(?:Create Folder|Node Configuration|Warning|Please Confirm)"] $floating_window, resize set height 200
|
||||||
|
|
||||||
# Aseprite
|
# Aseprite
|
||||||
[title="(?:Aseprite)"] opacity 1.0
|
[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="pop-up"] $floating_window
|
||||||
[window_role="bubble"] $floating_window
|
[window_role="bubble"] $floating_window
|
||||||
[window_role="task_dialog"] $floating_window
|
[window_role="task_dialog"] $floating_window
|
||||||
|
|
Loading…
Reference in New Issue
Block a user