Update execs, rules and add new mouse config

This commit is contained in:
Sheldon Lee 2023-11-21 17:29:00 +08:00
parent 9f07695bd8
commit 2e508999df

View File

@ -7,6 +7,7 @@
# Environment
exec --no-startup-id dbus-update-activation-environment --all
#exec --no-startup-id dbus-update-activation-environment DISPLAY SWAYSOCK WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec /usr/libexec/xdg-desktop-portal-wlr -r
exec /usr/libexec/polkit-gnome-authentication-agent-1
exec_always ~/.config/scripts/sway/import-gsettings
@ -48,8 +49,6 @@ xwayland force
include monitor
#output $mon1 adaptive_sync on
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
@ -89,6 +88,8 @@ exec swayidle -w \
#
input 1133:50503:Logitech_USB_Receiver accel_profile flat
input 1133:16500:Logitech_G304 accel_profile flat
input 13652:62736:Compx_LAMZU_4K_Receiver accel_profile flat
input 13652:62735:compx_LAMZU_Atlantis_Pro accel_profile flat
input 1133:16521:Logitech_K580 {
xkb_layout us
xkb_variant colemak
@ -357,13 +358,11 @@ default_border pixel 3
#
exec gentoo-pipewire-launcher restart
exec dunst
exec wlsunset -l 55.0 -L -1.6
exec wlsunset -l 22.3 -L 114.1
exec $term
exec swaymsg "workspace 2:r; exec thunderbird"
exec swaymsg "workspace 2:r; exec firefox"
exec element-desktop
exec webcord
exec signal-desktop
exec swaymsg "workspace 1:a"
@ -398,6 +397,7 @@ for_window [class="^QjackCtl$"] floating enable
for_window [class="^QjackCtl$" title="Graph — QjackCtl"] floating disable
for_window [app_id="^app.drey.Dialect$"] floating enable
for_window [app_id="^io.crow_translate.CrowTranslate$"] floating enable
for_window [app_id="^org.gnome.Calculator$"] floating enable
# Move windows to trash workspace
for_window [title="^Origin$"] floating enable, move container to workspace trash;
for_window [title="^Wine System Tray$"] move container to workspace trash;