feat(sway): Update workspace config
This commit is contained in:
parent
7e7b793608
commit
6e21cb45b5
4 changed files with 13 additions and 8 deletions
|
@ -38,7 +38,7 @@ set $wsF4 14:14
|
||||||
set $wsF5 15:
|
set $wsF5 15:
|
||||||
set $wsF6 16:
|
set $wsF6 16:
|
||||||
set $wsF7 17:
|
set $wsF7 17:
|
||||||
set $wsF8 18:18
|
set $wsF8 18:
|
||||||
set $wsF9 19:
|
set $wsF9 19:
|
||||||
set $wsF10 20:20
|
set $wsF10 20:20
|
||||||
set $wsF11 21:
|
set $wsF11 21:
|
||||||
|
|
|
@ -7,12 +7,14 @@
|
||||||
## `swaymsg -t get_tree | grep class`
|
## `swaymsg -t get_tree | grep class`
|
||||||
|
|
||||||
# Assign by app_id
|
# 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="^cinny$"] $wsF6
|
||||||
assign [app_id="^Element$"] $wsF6
|
assign [app_id="^Element$"] $wsF6
|
||||||
assign [app_id="^evolution$"] $wsF5
|
assign [app_id="^evolution$"] $wsF5
|
||||||
assign [app_id="^looking-glass-client$"] $wsF12
|
assign [app_id="^looking-glass-client$"] $wsF12
|
||||||
assign [app_id="^thunderbird$"] $wsF1
|
assign [app_id="^thunderbird$"] $wsF1
|
||||||
|
assign [app_id="^virt-manager$"] $ws1
|
||||||
|
|
||||||
# Assign by class
|
# Assign by class
|
||||||
assign [class="^steam$"] $wsF11
|
assign [class="^steam$"] $wsF11
|
||||||
|
@ -24,13 +26,13 @@ assign [class="^steam_proton$"] $wsF11
|
||||||
assign [title="Default - Wine desktop"] $wsF12
|
assign [title="Default - Wine desktop"] $wsF12
|
||||||
|
|
||||||
# Assign by app_id and class (apps i use with and without X)
|
# 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 [app_id="^Signal$"] $wsF3
|
||||||
assign [class="^Signal$"] $wsF3
|
assign [class="^Signal$"] $wsF3
|
||||||
assign [app_id="^teamspeak"] $wsF2
|
assign [app_id="^teamspeak"] $wsF2
|
||||||
assign [class="^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 #
|
# Assign workspaces to displays #
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# =================== #
|
# =================== #
|
||||||
|
|
||||||
gaps inner 0
|
gaps inner 0
|
||||||
gaps outer 10
|
gaps outer 5
|
||||||
|
|
||||||
default_border pixel 5
|
default_border pixel 5
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,17 @@ exec_always /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
exec_always "dbus-update-activation-environment --all --systemd"
|
exec_always "dbus-update-activation-environment --all --systemd"
|
||||||
|
|
||||||
# Make sure primary display is correctly set for XWayland applications
|
# 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
|
# Autostart applets
|
||||||
exec nm-applet --indicator
|
exec nm-applet --indicator
|
||||||
|
|
||||||
# Autostart my daily use software
|
# Autostart my daily use software
|
||||||
#exec thunderbird
|
#exec thunderbird
|
||||||
#exec evolution
|
#exec flatpak run org.gnome.Calendar
|
||||||
|
#exec flatpak run eu.betterbird.Betterbird
|
||||||
|
|
||||||
# Autostart stuff on specific workspaces
|
# Autostart stuff on specific workspaces
|
||||||
exec swaymsg "workspace $ws2; exec firefox -P Multimedia --new-window"
|
exec swaymsg "workspace $ws2; exec firefox -P Multimedia --new-window"
|
||||||
|
|
Loading…
Add table
Reference in a new issue