feat(sway): Update workspace config

This commit is contained in:
histalek 2024-04-02 16:19:47 +02:00
parent 7e7b793608
commit 6e21cb45b5
Signed by: histalek
SSH key fingerprint: SHA256:6a6N2Wzk73nwURUHC/ubbCyqdB6yfie0Jv/NGvRcsIE
4 changed files with 13 additions and 8 deletions

View file

@ -38,7 +38,7 @@ set $wsF4 14:14
set $wsF5 15:
set $wsF6 16:
set $wsF7 17:󰙯
set $wsF8 18:18
set $wsF8 18:
set $wsF9 19:
set $wsF10 20:20
set $wsF11 21:

View file

@ -7,12 +7,14 @@
## `swaymsg -t get_tree | grep class`
# Assign by app_id
assign [app_id="^virt-manager$"] $ws1
assign [app_id="^betterbird$"] $wsF5
assign [app_id="^org.gnome.Calendar$"] $wsF8
assign [app_id="^cinny$"] $wsF6
assign [app_id="^Element$"] $wsF6
assign [app_id="^evolution$"] $wsF5
assign [app_id="^looking-glass-client$"] $wsF12
assign [app_id="^thunderbird$"] $wsF1
assign [app_id="^virt-manager$"] $ws1
# Assign by class
assign [class="^steam$"] $wsF11
@ -24,13 +26,13 @@ assign [class="^steam_proton$"] $wsF11
assign [title="Default - Wine desktop"] $wsF12
# Assign by app_id and class (apps i use with and without X)
assign [app_id="^discord$"] $wsF7
assign [app_id="^com.discordapp.Discord$"] $wsF7
assign [class="^discord$"] $wsF7
assign [app_id="^Signal$"] $wsF3
assign [class="^Signal$"] $wsF3
assign [app_id="^teamspeak"] $wsF2
assign [class="^TeamSpeak"] $wsF2
assign [app_id="^discord$"] $wsF7
assign [app_id="^com.discordapp.Discord$"] $wsF7
assign [class="^discord$"] $wsF7
# ============================= #
# Assign workspaces to displays #

View file

@ -3,7 +3,7 @@
# =================== #
gaps inner 0
gaps outer 10
gaps outer 5
default_border pixel 5

View file

@ -9,14 +9,17 @@ exec_always /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec_always "dbus-update-activation-environment --all --systemd"
# Make sure primary display is correctly set for XWayland applications
exec xrandr --output DP-2 --primary
# WARNING: This actually doesn't set the primary display for xwayland.
# Running it manually works, so i suspect this is executed too early.
exec_always "xrandr --output DP-2 --primary"
# Autostart applets
exec nm-applet --indicator
# Autostart my daily use software
#exec thunderbird
#exec evolution
#exec flatpak run org.gnome.Calendar
#exec flatpak run eu.betterbird.Betterbird
# Autostart stuff on specific workspaces
exec swaymsg "workspace $ws2; exec firefox -P Multimedia --new-window"