- Open a terminal, run swaymsg splitv and use your terminal shortcut to open a second terminal. The two windows should appear one above the other.
- In the new terminal run swaymsg splith and open a third terminal. Notice how only the lower section splits. Close the practice terminals individually with exit.
First session with Sway
Make it your own
Find the installed keyboard shortcuts and display settings in the main Sway guide. Change one setting, check the result, and record its previous value so you can restore it.
Sway ile ilk oturum
- Bir terminal aç. İçinde swaymsg splitv çalıştır ve yapılandırmandaki terminal kısayoluyla ikinci terminali aç. İki pencereyi üst üste göreceksin.
- Yeni terminalde swaymsg splith çalıştırıp üçüncü terminali aç. Alt bölümün ikiye ayrıldığını gözle. Deneme terminallerini exit ile tek tek kapat.
Kendi düzenini kur
Kurulu klavye kısayollarını ve ekran ayarlarını ana Sway rehberinde bul. Bir ayarı değiştirip sonucu kontrol et. Geri dönebilmek için önceki değerini not al.
See nested splits
Run swaymsg splitv in a terminal and open another terminal with your installed shortcut. It appears below the first. In the new terminal run swaymsg splith and open a third. Observe the lower area split again.
Bölmeleri gerçekten gör
Bir terminalde swaymsg splitv çalıştır ve kurulu terminal kısayoluyla yeni terminal aç. İkincisi ilk terminalin altında görünür. Yeni terminalde swaymsg splith çalıştırıp üçüncü terminali aç. Son bölmenin kendi içinde ikiye ayrıldığını gör.
Inspect outputs and config
Use swaymsg -t get_outputs for output names and modes. Use swaymsg -t get_inputs for input devices. If you edit configuration, validate with sway -C before running swaymsg reload.
Çıkışları ve yapılandırmayı incele
swaymsg -t get_outputs ile ekranların adlarını ve etkin modlarını gör. swaymsg -t get_inputs ile giriş aygıtlarını listele. Yapılandırmayı değiştirirsen sway -C ile doğrulayıp ancak sonra swaymsg reload çalıştır.
If something goes wrong
If a window opens in an unexpected place, inspect which container had focus. For a missing display, use the exact name from swaymsg -t get_outputs. If the bar disappears after editing, validate syntax with sway -C.
Bir şey ters giderse
Yeni pencere beklenmedik yerdeyse hangi kapsayıcıya odaklandığına bak. Ekran görünmüyorsa swaymsg -t get_outputs çıktısındaki gerçek ada göre yapılandırmayı incele. Değişiklik sonrası çubuk kaybolduysa sway -C ile sözdizimini kontrol et.