mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-23 03:11:49 +08:00
40 lines
1.6 KiB
Plaintext
40 lines
1.6 KiB
Plaintext
# vim: filetype=swayconfig
|
|
|
|
include ~/.config/sway/conf.d/themes/dark
|
|
|
|
# laptop output mode
|
|
set $laptop eDP-1
|
|
bindswitch --reload --locked lid:on output $laptop disable
|
|
bindswitch --reload --locked lid:off output $laptop enable
|
|
|
|
#workspace_auto_back_and_forth yes
|
|
force_display_urgency_hint 500 ms
|
|
smart_borders no_gaps
|
|
|
|
# floating window
|
|
for_window [window_role = "pop-up"] floating enable
|
|
for_window [window_role = "bubble"] floating enable
|
|
for_window [window_role = "dialog"] floating enable
|
|
for_window [window_type = "dialog"] floating enable
|
|
for_window [window_role = "task_dialog"] floating enable
|
|
for_window [window_type = "menu"] floating enable
|
|
for_window [app_id = "floating"] floating enable
|
|
for_window [app_id = "floating_update"] floating enable, resize set width 1024px height 768px
|
|
for_window [class = "(?i)pinentry"] floating enable
|
|
for_window [title = "Administrator privileges required"] floating enable
|
|
|
|
for_window [class="^Steam$" title="^Friends$"] floating enable
|
|
for_window [class="^Steam$" title="Steam - News"] floating enable
|
|
for_window [class="^Steam$" title=".* - Chat"] floating enable
|
|
for_window [class="^Steam$" title="^Settings$"] floating enable
|
|
for_window [class="^Steam$" title=".* - event started"] floating enable
|
|
for_window [class="^Steam$" title=".* CD key"] floating enable
|
|
for_window [class="^Steam$" title="^Steam - Self Updater$"] floating enable
|
|
for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable
|
|
for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable
|
|
for_window [title="^Steam Keyboard$"] floating enable
|
|
|
|
seat * xcursor_theme Adwaita
|
|
|
|
seat * hide_cursor 10000
|