make 9 sway workspace for terminal

This commit is contained in:
thek4n 2026-04-30 18:18:20 +03:00
parent 5f6ca35a3e
commit 6e282c3e61
4 changed files with 9 additions and 6 deletions

View File

@ -22,6 +22,7 @@ exec --no-startup-id easyeffects --gapplication-service
exec --no-startup-id pomodoro daemon exec --no-startup-id pomodoro daemon
exec $browser exec $browser
exec $terminal exec $terminal1
exec $terminal2
exec Telegram exec Telegram
exec firefox_media exec firefox_media

View File

@ -5,17 +5,18 @@ exec swaylock -f
set $mod Mod4 set $mod Mod4
set $ws1 "1 Browser" set $ws1 "1 Browser"
set $ws2 "2  Code" set $ws2 "2  Terminal"
set $ws3 "3" set $ws3 "3"
set $ws4 "4" set $ws4 "4"
set $ws5 "5" set $ws5 "5"
set $ws6 "6" set $ws6 "6"
set $ws7 "7" set $ws7 "7"
set $ws8 "8💬Social" set $ws8 "8💬Social"
set $ws9 "9🎵Music" set $ws9 "9  Terminal"
set $ws10 "10🍿Media" set $ws10 "10🍿Media"
set $terminal ~/.config/sway/scripts/auto-alacritty.sh set $terminal1 ~/.config/sway/scripts/auto-alacritty.sh "Alacritty1"
set $terminal2 ~/.config/sway/scripts/auto-alacritty.sh "Alacritty2"
set $browser firefox set $browser firefox
# Example variables.d: # Example variables.d:

View File

@ -38,7 +38,8 @@ no_focus [title="^Peek preview$"]
no_focus [class="black"] no_focus [class="black"]
assign [app_id="firefox_media"] workspace $ws10 assign [app_id="firefox_media"] workspace $ws10
assign [app_id="Alacritty"] workspace $ws2 assign [app_id="Alacritty1"] workspace $ws2
assign [app_id="Alacritty2"] workspace $ws9
assign [app_id="org.telegram.desktop"] workspace $ws8 assign [app_id="org.telegram.desktop"] workspace $ws8
assign [app_id="firefox"] workspace $ws1 assign [app_id="firefox"] workspace $ws1

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
while true; do while true; do
alacritty alacritty --class "${1:-Alacritty}"
sleep 1 sleep 1
done done