sway: set mouse_warping to container, add autostart apps

This commit is contained in:
Konstantin Koslowski 2021-01-04 17:37:39 +01:00
parent 72f543bac4
commit 307d1dd03d

8
config
View file

@ -29,6 +29,7 @@ set $menu j4-dmenu-desktop --term="termite" \
# don't wrap focus
focus_wrapping no
mouse_warping container
# set font
font pango:$font
@ -234,6 +235,8 @@ bindsym $mod+m mode "move"
# Window Rules:
#
for_window [title="nmtui"] floating enable
for_window [app_id="pavucontrol"] floating enable
for_window [app_id="com.nextcloud.desktopclient.nextcloud"] floating enable
for_window [title=".*"] title_format "<b>%title</b> (%app_id:%class:%instance)"
for_window [app_id=".*"] title_format "<b>%title</b> (%app_id)"
for_window [class=".*"] title_format "<b>%title</b> (%class:%instance)"
@ -257,5 +260,10 @@ bar {
}
}
#
# Autostart
#
exec --no-startup-id nextcloud --background
include /etc/sway/config.d/*
include $HOME/.config/sway/conf.d/$(hostname)