mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
Add initial README and docs
This commit is contained in:
parent
39ba31f01a
commit
d78dc51288
16 changed files with 71 additions and 969 deletions
51
README.de.md
51
README.de.md
|
|
@ -1,51 +0,0 @@
|
|||
# Sway
|
||||
Sway ist ein [i3](https://i3wm.org/)-kompatibler [Wayland](http://wayland.freedesktop.org/)-Compositor. Lies die [FAQ](https://github.com/swaywm/sway/wiki). Tritt dem [IRC Channel](http://webchat.freenode.net/?channels=sway&uio=d4) bei (#sway on irc.freenode.net; Englisch).
|
||||
|
||||
Falls du die Entwicklung von Sway unterstützen möchtest, kannst du das auf [SirCmpwn's Patreon Seite](https://patreon.com/sircmpwn) machen.
|
||||
|
||||
## Signaturen
|
||||
Jedes Release wird mit dem PGP-Schlüssel [B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A) signiert und auf GitHub veröffentlicht.
|
||||
|
||||
## Installation
|
||||
### Mit der Paketverwaltung
|
||||
Sway kann in vielen Distributionen direkt durch die Paketverwaltung installiert werden. Das Paket sollte "sway" heißen. Falls es kein solches Paket gibt, kannst du im [Wiki](https://github.com/swaywm/sway/wiki/Unsupported-packages) (Englisch) nach mehr Informationen bezüglich deiner Distribution suchen.
|
||||
|
||||
Falls du sway für deine eigene Distribution als Paket bereitstellen möchtest, solltest du die Entwickler per IRC oder E-Mail (sir@cmpwn.com) kontaktieren.
|
||||
|
||||
### Quellcode selbst kompilieren
|
||||
|
||||
sway benötigt die folgenden Pakete:
|
||||
|
||||
* meson\*
|
||||
* [wlroots](https://github.com/swaywm/wlroots)
|
||||
* wayland
|
||||
* wayland-protocols\*
|
||||
* pcre
|
||||
* json-c
|
||||
* pango
|
||||
* cairo
|
||||
* gdk-pixbuf2 (Optional, wird für das Benachrichtigungsfeld (System Tray) benötigt)
|
||||
* [scdoc](https://git.sr.ht/~sircmpwn/scdoc)\* (Optional, wird für die Dokumentation (Man Pages) benötigt)
|
||||
* git\*
|
||||
|
||||
_\*Werden nur während des Kompilierens benötigt_
|
||||
|
||||
Führe die folgenden Befehle aus
|
||||
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
|
||||
Falls dein System nicht logind benutzt, musst du sway noch die passenden Berechtigungen geben:
|
||||
|
||||
sudo chmod a+s /usr/local/bin/sway
|
||||
|
||||
Sway läuft nur in der Startphase mit Root-Rechten.
|
||||
|
||||
## Konfiguration
|
||||
|
||||
Falls du von i3 migrierst, kannst du deine Konfigurationsdatei nach `~/.config/sway/config` kopieren, und die Einstellungen sollten ohne Weiteres funktionieren. Ansonsten kannst du die Beispielkonfiguration, die normalerweise in `/etc/sway/config` liegt, nach `~/.config/sway/config` kopieren. Die Dokumentation zur Konfigurationsdatei findest du in `man 5 sway`.
|
||||
|
||||
## Sway Starten
|
||||
Sway kann einfach mit dem Befehl `sway` vom TTY gestartet werden.
|
||||
Display-Manager werden nicht offiziell unterstützt. Es gibt aber durchaus einige, die mit Sway funktionieren. (z.B. gdm)
|
||||
65
README.dk.md
65
README.dk.md
|
|
@ -1,65 +0,0 @@
|
|||
# Sway
|
||||
|
||||
Sway er en [i3](https://i3wm.org/)-kompatibel [Wayland](http://wayland.freedesktop.org/) compositor.
|
||||
Læs [Ofte stillede spørgsmål](https://github.com/swaywm/sway/wiki).
|
||||
Deltag på [IRC kanalen](http://webchat.freenode.net/?channels=sway&uio=d4) (#sway på irc.freenode.net).
|
||||
|
||||
Hvis du har lyst til at støtte sway udviklingen, venligst send bidrag på [Sir Cmpwn's Patreon side](https://patreon.com/sircmpwn).
|
||||
|
||||
## Udgivelses Signaturer
|
||||
|
||||
Udgivelser er signeret med [B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A)
|
||||
og publiseret på [GitHub](https://github.com/swaywm/sway/releases).
|
||||
|
||||
## Installation
|
||||
|
||||
### Fra Pakker
|
||||
|
||||
Sway er tilgængelig i mange distributioner. Prøv at installere pakken "svay". Hvis den ikke er tilgængelig, så tjek [denne wiki-side](https://github.com/swaywm/sway/wiki/Unsupported-packages)
|
||||
for information om installation til din(e) distribution(er).
|
||||
|
||||
Hvis du er interesseret i at lave en Sway pakke til din distribution, burde du besøge IRC
|
||||
kanalen eller sende en e-mail til sir@cmpwn.com for rådgivning.
|
||||
|
||||
### Kompilering fra kildekode
|
||||
|
||||
Installation afhænger af følgende programmer:
|
||||
|
||||
* meson \*
|
||||
* [wlroots](https://github.com/swaywm/wlroots)
|
||||
* wayland
|
||||
* wayland-protocols \*
|
||||
* pcre
|
||||
* json-c
|
||||
* pango
|
||||
* cairo
|
||||
* gdk-pixbuf2 (valgfrit tillæg: system tray)
|
||||
* [scdoc](https://git.sr.ht/~sircmpwn/scdoc) (valgfrit tillæg: man pages) \*
|
||||
* git \*
|
||||
|
||||
_\*Kompiler krav_
|
||||
|
||||
Kør følgende kommandoer:
|
||||
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
|
||||
På systemer uden 'logind', behøver du at sætte ejerens bruger-id for Sways eksekverbare filer - såkaldt SUID (Set owner User ID):
|
||||
|
||||
sudo chmod a+s /usr/local/bin/sway
|
||||
|
||||
Sway vil frasige sig 'root' tilladelser kort efter opstart
|
||||
|
||||
## Konfiguration
|
||||
|
||||
Hvis du allerede bruger i3, bør du kopiere din i3-konfiguration til `~/.config/sway/config` og
|
||||
det vil bare fungerer. Ellers skal du kopiere eksempel konfigurations filen til
|
||||
`~/.config/sway/config`. Den er normalt placeret i `/etc/sway/config`.
|
||||
Kør `man 5 sway` for at få oplysninger om konfigurationen.
|
||||
|
||||
## Kører
|
||||
|
||||
Kør `sway` fra en TTY. Nogle display managers fungerer muligvis, men understøttes ikke af
|
||||
Sway (gdm er kendt for at fungere temmelig godt).
|
||||
|
||||
65
README.es.md
65
README.es.md
|
|
@ -1,65 +0,0 @@
|
|||
# sway
|
||||
|
||||
sway es un compositor de [Wayland](http://wayland.freedesktop.org/) compatible con [i3](https://i3wm.org/).
|
||||
Lea el [FAQ](https://github.com/swaywm/sway/wiki). Únase al [canal de IRC](http://webchat.freenode.net/?channels=sway&uio=d4) (#sway on
|
||||
irc.freenode.net).
|
||||
|
||||
Si quiere apoyar el desarrollo de sway, por favor, contribuya en [la página de Patreon de SirCmpwn](https://patreon.com/sircmpwn).
|
||||
|
||||
## Firmas de las versiones
|
||||
|
||||
Las distintas versiones están firmadas con [B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A)
|
||||
y publicadas [en GitHub](https://github.com/swaywm/sway/releases).
|
||||
|
||||
## Instalación
|
||||
|
||||
### Usando paquetes
|
||||
|
||||
Sway está disponible en muchas distribuciones. Pruebe instalando el paquete "sway" desde la suya.
|
||||
Si no está disponible, puede consultar [esta documentación](https://github.com/swaywm/sway/wiki/Unsupported-packages)
|
||||
y así obtener información acerca de como instalarlo.
|
||||
|
||||
Si está interesado en crear un paquete para su distribución, únase al canal de IRC o
|
||||
escriba un email a sir@cmpwn.com
|
||||
|
||||
### Compilando el código fuente
|
||||
|
||||
Instale las dependencias:
|
||||
|
||||
* meson \*
|
||||
* [wlroots](https://github.com/swaywm/wlroots)
|
||||
* wayland
|
||||
* wayland-protocols \*
|
||||
* pcre
|
||||
* json-c
|
||||
* pango
|
||||
* cairo
|
||||
* gdk-pixbuf2 (optional: system tray)
|
||||
* [scdoc](https://git.sr.ht/~sircmpwn/scdoc) (optional: man pages) \*
|
||||
* git \*
|
||||
|
||||
_\*Compile-time dep_
|
||||
|
||||
Desde su consola, ejecute las órdenes:
|
||||
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
|
||||
En sistemas sin `logind`, necesitará cambiar los permisos del archivo compilado de sway:
|
||||
|
||||
sudo chmod a+s /usr/local/bin/sway
|
||||
|
||||
Sway abandonará los permisos de super-usuario al poco de arrancar.
|
||||
|
||||
## Configuración
|
||||
|
||||
Si ya utiliza i3, copie su archivo de configuración de i3 a `~/.config/sway/config` y
|
||||
sway funcionará sin tener que configurar nada más. En otro caso, copie el archivo de
|
||||
configuración básico a `~/.config/sway/config`, normalmente se encuentra en `/etc/sway/config`.
|
||||
Ejecute `man 5 sway` para obtener información sobre la configuración.
|
||||
|
||||
## Ejecución
|
||||
|
||||
Ejecute `sway` desde su consola. Algunos gestores de pantalla pueden funcionar sin estar
|
||||
soportados por `sway` (sabemos que gdm funciona bastante bien).
|
||||
72
README.fr.md
72
README.fr.md
|
|
@ -1,72 +0,0 @@
|
|||
# sway
|
||||
|
||||
Sway est un compositeur [Wayland](http://wayland.freedesktop.org/) compatible
|
||||
avec [i3](https://i3wm.org/), **en cours de développement**. Lisez la
|
||||
[FAQ](https://github.com/swaywm/sway/wiki). Rejoignez le [canal
|
||||
IRC](http://webchat.freenode.net/?channels=sway&uio=d4) (#sway sur
|
||||
irc.freenode.net).
|
||||
|
||||
Si vous souhaitez soutenir le développement de Sway, vous pouvez contribuer à [la page
|
||||
Patreon de SirCmpwn](https://patreon.com/sircmpwn).
|
||||
|
||||
## Aide en français
|
||||
|
||||
[abdelq](//github.com/abdelq) fournit du support en français sur IRC et Github, dans le fuseau horaire UTC-4 (EST).
|
||||
|
||||
## Signatures de nouvelles versions
|
||||
|
||||
Les nouvelles versions sont signées avec [B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A)
|
||||
et publiées [sur GitHub](https://github.com/swaywm/sway/releases).
|
||||
|
||||
## Installation
|
||||
|
||||
### À partir de paquets
|
||||
|
||||
Sway est disponible sur plusieurs distributions. Essayez d'installer le paquet "sway" pour
|
||||
la vôtre. Si ce n'est pas disponible, consultez [cette page wiki](https://github.com/swaywm/sway/wiki/Unsupported-packages)
|
||||
pour de l'information sur l'installation pour vos distributions.
|
||||
|
||||
Si vous êtes intéressé à maintenir Sway pour votre distribution, passez par le canal
|
||||
IRC ou envoyez un e-mail à sir@cmpwn.com (en anglais seulement) pour des conseils.
|
||||
|
||||
### Compilation depuis la source
|
||||
|
||||
Installez les dépendances :
|
||||
|
||||
* meson \*
|
||||
* [wlroots](https://github.com/swaywm/wlroots)
|
||||
* wayland
|
||||
* wayland-protocols \*
|
||||
* pcre
|
||||
* json-c
|
||||
* pango
|
||||
* cairo
|
||||
* gdk-pixbuf2 (optionnel: system tray)
|
||||
* [scdoc](https://git.sr.ht/~sircmpwn/scdoc) (optionnel: requis pour les pages man) \*
|
||||
* git \*
|
||||
|
||||
_\*Requis uniquement pour la compilation_
|
||||
|
||||
Exécutez ces commandes :
|
||||
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
|
||||
Sur les systèmes sans logind, vous devez suid le binaire de sway :
|
||||
|
||||
sudo chmod a+s /usr/local/bin/sway
|
||||
|
||||
Sway se débarassera des permissions *root* peu de temps après le démarrage.
|
||||
|
||||
## Configuration
|
||||
|
||||
Si vous utilisez déjà i3, copiez votre configuration i3 à `~/.config/sway/config` et
|
||||
cela va fonctionner. Sinon, copiez l'exemple de fichier de configuration à
|
||||
`~/.config/sway/config`. Il se trouve généralement dans `/etc/sway/config`.
|
||||
Exécutez `man 5 sway` pour l'information sur la configuration.
|
||||
|
||||
## Exécution
|
||||
|
||||
Exécutez `sway` à partir d'un TTY. Certains gestionnaires d'affichage peuvent fonctionner,
|
||||
mais ne sont pas supportés par Sway (gdm est réputé pour assez bien fonctionner).
|
||||
64
README.ja.md
64
README.ja.md
|
|
@ -1,64 +0,0 @@
|
|||
# sway
|
||||
|
||||
Swayは[i3](https://i3wm.org/)互換な[Wayland](http://wayland.freedesktop.org/)コンポジタです。
|
||||
[FAQ](https://github.com/swaywm/sway/wiki)も合わせてご覧ください。
|
||||
[IRC チャンネル](http://webchat.freenode.net/?channels=sway&uio=d4) (#sway on irc.freenode.net)もあります。
|
||||
|
||||
[](https://sr.ht/ICd5.png)
|
||||
|
||||
Swayの開発を支援したい場合は、[SirCmpwnのPatreon](https://patreon.com/sircmpwn)や、特定の機能に対する[報奨金のページ](https://github.com/swaywm/sway/issues/986)から寄付ができます。誰でも報奨金を請求できますし、自分の欲しい機能に報奨金を懸ける事も出来ます。またSwayのメンテナンスを支援するには、Patreonがより有用です。
|
||||
|
||||
## 日本語サポート
|
||||
|
||||
SirCmpwnは、日本語でのサポートをIRCとGitHubで行います。タイムゾーンはUTC-4です。
|
||||
|
||||
## リリースの署名
|
||||
|
||||
Swayのリリースは[B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A)で署名され、[GitHub](https://github.com/swaywm/sway/releases)で公開されています。
|
||||
|
||||
## インストール
|
||||
|
||||
### パッケージから
|
||||
|
||||
Swayは沢山のディストリビューションで提供されています。"sway"パッケージのインストールを試してください。パッケージが存在しない場合は、[このページ](https://github.com/swaywm/sway/wiki/Unsupported-packages)で、あなたのディストリビューションでのインストールに関する情報を調べてください。
|
||||
|
||||
あなたのディストリビューションにSwayのパッケージを提供したい場合は、SwayのIRCチャンネルを訪れるか、sir@cmpwn.comにメールを送り、相談してください。
|
||||
|
||||
### ソースコードからコンパイル
|
||||
|
||||
次の依存パッケージをインストールしてください:
|
||||
|
||||
* meson \*
|
||||
* [wlroots](https://github.com/swaywm/wlroots)
|
||||
* wayland
|
||||
* wayland-protocols \*
|
||||
* pcre
|
||||
* json-c
|
||||
* pango
|
||||
* cairo
|
||||
* gdk-pixbuf2 (システムイコンで必要です)
|
||||
* [scdoc](https://git.sr.ht/~sircmpwn/scdoc) (manで必要です) \*
|
||||
* git \*
|
||||
|
||||
_\*コンパイルの時_
|
||||
|
||||
次のコマンドを実行してください:
|
||||
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
|
||||
logindを使用していないシステムでは、バイナリにsuidを設定する必要があります:
|
||||
|
||||
sudo chmod a+s /usr/local/bin/sway
|
||||
|
||||
swayは起動後、すぐにroot許可を落とします。
|
||||
|
||||
## 設定
|
||||
|
||||
既にi3を使用している場合は、i3の設定ファイルを`~/.config/sway/config`にコピーすれば動きます。そうでない場合は、サンプルの設定ファイルを`~/.config/sway/config`にコピーしてください。サンプルの設定ファイルは、通常`/etc/sway/config`にあります。`man 5 sway`を実行することで、設定に関する情報を見ることができます。
|
||||
|
||||
## 実行
|
||||
|
||||
`sway`をTTYから実行してください。いくつかのディスプレイマネージャは動くかもしれませんが、Swayからサポートされていません(gdmは非常に良く動作することが知られています)。
|
||||
|
||||
63
README.ko.md
63
README.ko.md
|
|
@ -1,63 +0,0 @@
|
|||
# sway
|
||||
|
||||
sway는 [i3](https://i3wm.org/)-호환 [Wayland](http://wayland.freedesktop.org/) 컴포지터입니다.
|
||||
[FAQ](https://github.com/swaywm/sway/wiki)를 읽어보세요. [IRC 채널](http://webchat.freenode.net/?channels=sway&uio=d4) (#sway on irc.freenode.net)도 있습니다.
|
||||
|
||||
sway 개발을 도우고 싶으시다면, [SirCmpwn의 Patreon 페이지](https://patreon.com/sircmpwn)에 기여해 주세요.
|
||||
|
||||
## 릴리즈 서명
|
||||
|
||||
릴리즈는 [B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A)에서 서명되고,
|
||||
[GitHub에서](https://github.com/swaywm/sway/releases) 공개되고 있습니다.
|
||||
|
||||
## 설치
|
||||
|
||||
### 패키지를 통한 설치
|
||||
|
||||
Sway는 많은 배포판에서 이용할 수 있습니다. "sway" 패키지를 설치해 보세요.
|
||||
만약 없다면, [위키 페이지](https://github.com/swaywm/sway/wiki/Unsupported-packages)를 확인하세요.
|
||||
해당 배포판에 대한 설치 정보를 확인할 수 있습니다.
|
||||
|
||||
당신의 배포판에 sway 패키지를 제공하고 싶다면,
|
||||
IRC 채널을 방문하거나 sir@cmpwn.com으로 이메일을 보내 상담 받으세요.
|
||||
|
||||
### 소스를 통한 컴파일
|
||||
|
||||
다음 의존 패키지들을 설치해 주세요:
|
||||
|
||||
* meson \*
|
||||
* [wlroots](https://github.com/swaywm/wlroots)
|
||||
* wayland
|
||||
* wayland-protocols \*
|
||||
* pcre
|
||||
* json-c
|
||||
* pango
|
||||
* cairo
|
||||
* gdk-pixbuf2 (선택: system tray)
|
||||
* [scdoc](https://git.sr.ht/~sircmpwn/scdoc) (선택: man pages) \*
|
||||
* git \*
|
||||
|
||||
_\*컴파일 떄 필요_
|
||||
|
||||
다음 명령을 실행하세요:
|
||||
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
|
||||
logind를 사용하고 있지 않는 시스템에서는, 바이너리에 suid를 설정할 필요가 있습니다:
|
||||
|
||||
sudo chmod a+s /usr/local/bin/sway
|
||||
|
||||
Sway는 시작 후에 root 권한을 drop할 것 입니다.
|
||||
|
||||
## 설정
|
||||
|
||||
i3를 이미 사용 중이라면, i3 config을 `~/.config/sway/config`로 복사하세요.
|
||||
아니면, 샘플 구성 파일을 '~/.config/sway/config'에 복사할 수도 있습니다.
|
||||
일반적으로 "/etc/sway/config"에 위치해 있습니다.
|
||||
설정에 대한 정보를 보려면 "man 5 sway"를 실행하세요.
|
||||
|
||||
## 실행
|
||||
|
||||
TTY에서 `sway`를 실행하세요. 일부 display manager는 작동하지만, sway로 부터 지원되지 않습니다(gdm은 상당히 잘 작동한다고 알려져 있습니다).
|
||||
101
README.md
101
README.md
|
|
@ -1,71 +1,66 @@
|
|||
# sway
|
||||
# sway-borders
|
||||
|
||||
[**English**](https://github.com/swaywm/sway/blob/master/README.md#sway--) - [日本語](https://github.com/swaywm/sway/blob/master/README.ja.md#sway--) - [Français](https://github.com/swaywm/sway/blob/master/README.fr.md#sway--) - [Українська](https://github.com/swaywm/sway/blob/master/README.uk.md#sway--) - [Español](https://github.com/swaywm/sway/blob/master/README.es.md#sway--) - [Polski](https://github.com/swaywm/sway/blob/master/README.pl.md#sway--) - [中文-简体](https://github.com/swaywm/sway/blob/master/README.zh-CN.md#sway--) - [Deutsch](https://github.com/swaywm/sway/blob/master/README.de.md#sway--) - [Nederlands](https://github.com/swaywm/sway/blob/master/README.nl.md#sway--) - [Русский](https://github.com/swaywm/sway/blob/master/README.ru.md#sway--)- [中文-繁體](https://github.com/swaywm/sway/blob/master/README.zh-TW.md#sway--) - [Português](https://github.com/swaywm/sway/blob/master/README.pt.md#sway--) - [Danish](https://github.com/swaywm/sway/blob/master/README.dk.md#sway--) - [한국어](https://github.com/swaywm/sway/blob/master/README.ko.md#sway--) - [Română](https://github.com/swaywm/sway/blob/master/README.ro.md#sway--)
|
||||
sway-borders is a fork of [Sway](https://swaywm.org), an [i3](https://i3wm.org/)-compatible [Wayland](http://wayland.freedesktop.org/) compositor. It introduces some new features like more customizable borders, but is otherwise kept up to date with [sway](https://github.com/swaywm/sway).
|
||||
|
||||
sway is an [i3](https://i3wm.org/)-compatible [Wayland](http://wayland.freedesktop.org/) compositor.
|
||||
Read the [FAQ](https://github.com/swaywm/sway/wiki). Join the [IRC
|
||||
channel](http://webchat.freenode.net/?channels=sway&uio=d4) (#sway on
|
||||
irc.freenode.net).
|
||||
|
||||
If you'd like to support sway development, please contribute to [SirCmpwn's
|
||||
Patreon page](https://patreon.com/sircmpwn).
|
||||
|
||||
## Release Signatures
|
||||
|
||||
Releases are signed with [B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A)
|
||||
and published [on GitHub](https://github.com/swaywm/sway/releases).
|
||||
Please refer to the [Sway GitHub](https://github.com/swaywm/sway/) for docs and related material which isn't related to the new features below.
|
||||
|
||||
## Installation
|
||||
The following package distributions exist. If you package sway-borders for another distribution, feel free to PR its entry here.
|
||||
|Distribution|Name|Maintainer|
|
||||
|---|---|---|
|
||||
|AUR|`sway-borders-git`|TheAvidDev|
|
||||
|
||||
### From Packages
|
||||
Releases will follow Sway's. To compile from source, follow the same procedure as Sway [here](https://github.com/swaywm/sway#compiling-from-source).
|
||||
|
||||
Sway is available in many distributions. Try installing the "sway" package for
|
||||
yours. If it's not available, check out [this wiki page](https://github.com/swaywm/sway/wiki/Unsupported-packages)
|
||||
for information on installation for your distributions.
|
||||
# Features
|
||||
- [X] Border images (allow for drop shadows, outer curved borders, etc.)
|
||||
- [ ] Curved borders (inner)
|
||||
Descriptions and usage of the features can be found below. If you would like some more features that won't be added by Sway, feel free to request them for this project instead.
|
||||
|
||||
If you're interested in packaging sway for your distribution, stop by the IRC
|
||||
channel or shoot an email to sir@cmpwn.com for advice.
|
||||
## Border Images
|
||||
This feature allows the use of eight images that get snapped on to the corners and edges of windows. This allows for any combination of outer curved borders, drop shadows, and multi-layer borders. These border images are drawn wherever gaps normally appear.
|
||||
|
||||
### Compiling from Source
|
||||
### Configuration
|
||||
Directly from the manpage:
|
||||
```
|
||||
*border-images.<class>* <folder_path>
|
||||
Configures the images used for borders. The _folder_path_ is expected to be
|
||||
the full path, with a trailing slash, to a folder that contains 8 PNG images
|
||||
named 0.png, 1.png, ..., 7.png. These images are used in clockwise order,
|
||||
starting from the top-left corner, ending on the left edge. For the classes
|
||||
below, _container_ refers to a container which has gaps around it.
|
||||
|
||||
Check out [this wiki page](https://github.com/swaywm/sway/wiki/Development-Setup) if you want to build the HEAD of sway and wlroots for testing or development.
|
||||
The available classes are:
|
||||
|
||||
Install dependencies:
|
||||
*border_images.focused*
|
||||
The container which is focused or has a window that has focus.
|
||||
|
||||
* meson \*
|
||||
* [wlroots](https://github.com/swaywm/wlroots)
|
||||
* wayland
|
||||
* wayland-protocols \*
|
||||
* pcre
|
||||
* json-c
|
||||
* pango
|
||||
* cairo
|
||||
* gdk-pixbuf2 (optional: system tray)
|
||||
* [scdoc](https://git.sr.ht/~sircmpwn/scdoc) (optional: man pages) \*
|
||||
* git (optional: version info) \*
|
||||
*border_images.focused_inactive*
|
||||
The container which has the most recently focused view within a container
|
||||
which is not focused.
|
||||
|
||||
_\*Compile-time dep_
|
||||
*border_images.unfocused*
|
||||
A container with all of its views unfocused.
|
||||
|
||||
Run these commands:
|
||||
*border_images.urgent*
|
||||
A container which has view with an urgency hint. *Note*: Native Wayland windows do not
|
||||
support urgency. Urgency only works for Xwayland windows.
|
||||
```
|
||||
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
Unlike pixel borders, the border images will overflow into gaps, so you may have to alter your gaps to accomidate.
|
||||
|
||||
On systems without logind, you need to suid the sway binary:
|
||||
To use this in your config, you would probably use the following:
|
||||
```
|
||||
exec_always border-images.focused /some/folder
|
||||
exec_always border-images.focused_inactive /some/folder
|
||||
exec_always border-images.unfocused /some/folder
|
||||
exec_always border-images.urgent /some/folder
|
||||
```
|
||||
|
||||
sudo chmod a+s /usr/local/bin/sway
|
||||
Note: A folder which doesn't contain any images, or only contains some of the images will not throw any errors or warnings, do double check your folder path if you experience issues.
|
||||
|
||||
Sway will drop root permissions shortly after startup.
|
||||
### Samples
|
||||
The [`/contrib/borders/` folder](https://github.com/TheAvidDev/sway-borders/tree/master/contrib/borders/) contains some example and community contributed border images, alongside screenshots. Feel free to add your own and make a PR!
|
||||
|
||||
## Configuration
|
||||
|
||||
If you already use i3, then copy your i3 config to `~/.config/sway/config` and
|
||||
it'll work out of the box. Otherwise, copy the sample configuration file to
|
||||
`~/.config/sway/config`. It is usually located at `/etc/sway/config`.
|
||||
Run `man 5 sway` for information on the configuration.
|
||||
|
||||
## Running
|
||||
|
||||
Run `sway` from a TTY. Some display managers may work but are not supported by
|
||||
sway (gdm is known to work fairly well).
|
||||
## Rounded Borders
|
||||
While the border images allow for rounded borders to be added on the _outside_ of containers, always increasing the total size of the container. An option to round the inner borders, cropping the container content itself is planned.
|
||||
|
|
|
|||
66
README.nl.md
66
README.nl.md
|
|
@ -1,66 +0,0 @@
|
|||
# sway
|
||||
|
||||
Sway is een [i3](https://i3wm.org/)-compatibele [Wayland](http://wayland.freedesktop.org/) compositor.
|
||||
Lees de [FAQ](https://github.com/swaywm/sway/wiki). Word lid van het [IRC
|
||||
kanaal](http://webchat.freenode.net/?channels=sway&uio=d4) (#sway op
|
||||
irc.freenode.net).
|
||||
|
||||
Als je de ontwikkeling van sway wilt ondersteunen, draag dan bij aan [SirCmpwn's
|
||||
Patreon-pagina](https://patreon.com/sircmpwn).
|
||||
|
||||
## Releasehandtekeningen
|
||||
|
||||
Releases worden ondertekend met [B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A)
|
||||
en gepubliceerd [op GitHub](https://github.com/swaywm/sway/releases).
|
||||
|
||||
## Installatie
|
||||
|
||||
### Via een pakket
|
||||
|
||||
Sway is beschikbaar in vele distributies. Probeer het "sway"-pakket te installeren met jouw pakketbeheerapplicatie. Als het niet beschikbaar is, bekijk dan [deze wikipagina](https://github.com/swaywm/sway/wiki/Unsupported-packages)
|
||||
voor informatie over installatie in jouw distributie.
|
||||
|
||||
Als je geïnteresseerd bent in het maken van pakketten voor je distributie, stuur een bericht in het IRC-
|
||||
kanaal of stuur een e-mail naar sir@cmpwn.com voor advies.
|
||||
|
||||
### Compilatie vanuit broncode
|
||||
|
||||
Afhankelijkheden installeren:
|
||||
|
||||
* meson \*
|
||||
* [wlroots](https://github.com/swaywm/wlroots)
|
||||
* wayland
|
||||
* wayland-protocols \*
|
||||
* pcre
|
||||
* json-c
|
||||
* pango
|
||||
* cairo
|
||||
* gdk-pixbuf2 (optioneel: systeemtray)
|
||||
* [scdoc](https://git.sr.ht/~ircmpwn/scdoc) (optioneel: manpagina's) \*
|
||||
* git \*
|
||||
|
||||
_\* Compileerafhankelijkheden_
|
||||
|
||||
Voer deze opdrachten uit:
|
||||
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
|
||||
Op systemen zonder logind, moet je bij het binaire bestand het suid bit instellen:
|
||||
|
||||
sudo chmod a+s /usr/local/bin/sway
|
||||
|
||||
Sway zal root-rechten kort na het opstarten loslaten.
|
||||
|
||||
## Configuratie
|
||||
|
||||
Als je al i3 gebruikt, kopieer dan je i3-configuratie naar `~/.config/sway/config` en
|
||||
het zal zonder verdere configuratie werken. Kopieer anders het voorbeeldconfiguratiebestand naar
|
||||
`~/.config/sway/config`. Dit is meestal het bestand: `/etc/sway/config`.
|
||||
Voer `man 5 sway` uit voor informatie over het configureren van sway.
|
||||
|
||||
## Uitvoeren
|
||||
|
||||
Voer `sway` vanaf een TTY uit. Sommige display-managers kunnen werken, maar worden niet ondersteund door
|
||||
sway (van gdm is bekend dat het redelijk goed werkt).
|
||||
65
README.pl.md
65
README.pl.md
|
|
@ -1,65 +0,0 @@
|
|||
# sway
|
||||
|
||||
sway jest kompozytorem [Wayland](http://wayland.freedesktop.org/) kompatybilnym z [i3](https://i3wm.org/).
|
||||
Przeczytaj [FAQ](https://github.com/swaywm/sway/wiki). Dołącz do [kanału IRC](http://webchat.freenode.net/?channels=sway&uio=d4)
|
||||
(#sway na irc.freenode.net).
|
||||
|
||||
Jeśli chcesz wesprzeć rozwój sway, rozważ wsparcie SirCmpwn na jego [stronie Patreon](https://patreon.com/sircmpwn).
|
||||
|
||||
## Podpisy cyfrowe wydań
|
||||
|
||||
Wydania są podpisywane przy pomocy klucza [B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A)
|
||||
i publikowane [na GitHubie](https://github.com/swaywm/sway/releases).
|
||||
|
||||
## Instalacja
|
||||
|
||||
### Z pakietów
|
||||
|
||||
Sway jest dostępny w wielu dystybucjach. Spróbuj zainstalować pakiet "sway" w swoim
|
||||
menedżerze pakietów. Jeśli nie jest dostępny, sprawdź [tę stronę wiki](https://github.com/swaywm/sway/wiki/Unsupported-packages)
|
||||
aby uzyskać informacje dotyczące instalacji w swojej dystrybucji.
|
||||
|
||||
Jeśli chciałbyś stworzyć pakiet sway dla swojej dystrybucji, odwiedź kanał IRC lub wyślij email na
|
||||
adres sir@cmpwn.com w celu uzyskania wskazówek.
|
||||
|
||||
### Kompilacja ze Źródła
|
||||
|
||||
Zainstaluj zależności:
|
||||
|
||||
* meson \*
|
||||
* [wlroots](https://github.com/swaywm/wlroots)
|
||||
* wayland
|
||||
* wayland-protocols \*
|
||||
* pcre
|
||||
* json-c
|
||||
* pango
|
||||
* cairo
|
||||
* gdk-pixbuf2 (opcjonalnie: system tray)
|
||||
* [scdoc](https://git.sr.ht/~sircmpwn/scdoc) (opcjonalnie: strony pomocy man) \*
|
||||
* git \*
|
||||
|
||||
_\*zależności kompilacji_
|
||||
|
||||
Wykonaj następujące polecenia:
|
||||
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
|
||||
Na systemach bez logind należy wykonać polecenie suid na pliku wykonywalnym sway:
|
||||
|
||||
sudo chmod a+s /usr/local/bin/sway
|
||||
|
||||
Sway pozbędzie się uprawnień roota tuż po wystartowaniu.
|
||||
|
||||
## Konfiguracja
|
||||
|
||||
Jeśli już korzystasz z i3, skopiuj swoją konfigurację i3 do katalogu `~/.config/sway/config` i
|
||||
zadziała od ręki. W przeciwnym razie skopiuj przykładowy plik konfiguracyjny do folderu
|
||||
`~/.config/sway/config`; zazwyczaj znajduje się w `/etc/sway/config`.
|
||||
Wykonaj polecenie `man 5 sway` aby uzyskać informacje dotyczące konfiguracji.
|
||||
|
||||
## Uruchamianie
|
||||
|
||||
Wykonaj polecenie `sway` z poziomu TTY. Niektóre menedżery wyświetlania mogą umożliwiać rozruch z ich
|
||||
poziomu, ale nie jest to wspierane przez sway (w gdm podobno działa to całkiem nieźle).
|
||||
66
README.pt.md
66
README.pt.md
|
|
@ -1,66 +0,0 @@
|
|||
# sway
|
||||
|
||||
O sway é um compositor do [Wayland](http://wayland.freedesktop.org/) compatível com o [i3](https://i3wm.org/).
|
||||
Leia o [FAQ](https://github.com/swaywm/sway/wiki). Junte-se ao [canal do
|
||||
IRC](http://webchat.freenode.net/?channels=sway&uio=d4) (#sway em
|
||||
irc.freenode.net).
|
||||
|
||||
Se você gostaria de apoiar o desenvolvimento do sway, por favor, contribua na [página do patreon de
|
||||
SirCmpwn](https://patreon.com/sircmpwn).
|
||||
|
||||
## Assinatura das versões
|
||||
|
||||
As versões são assinadas com [B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A)
|
||||
e publicadas [no GitHub](https://github.com/swaywm/sway/releases).
|
||||
|
||||
## Instalação
|
||||
|
||||
### A partir de pacotes
|
||||
O Sway está disponível em várias distribuições. Tente instalar o pacote "sway"
|
||||
na sua. Caso não esteja disponível, verifique [esta wiki](https://github.com/swaywm/sway/wiki/Unsupported-packages)
|
||||
para se informar a sobre a instalação para sua distribuição.
|
||||
|
||||
Se você está interessado em criar um pacote do sway para a sua distribuição, verifique canal do IRC
|
||||
ou mande um email para sir@cmpwn.com para obter informações.
|
||||
|
||||
### Compilando a partir do código-fonte
|
||||
|
||||
Instale as dependências:
|
||||
|
||||
* meson \*
|
||||
* [wlroots](https://github.com/swaywm/wlroots)
|
||||
* wayland
|
||||
* wayland-protocols \*
|
||||
* pcre
|
||||
* json-c
|
||||
* pango
|
||||
* cairo
|
||||
* gdk-pixbuf2 (optional: system tray)
|
||||
* [scdoc](https://git.sr.ht/~sircmpwn/scdoc) (Opcional: man pages) \*
|
||||
* git \*
|
||||
|
||||
_\*Dependência de tempo de compilação_
|
||||
|
||||
Execute esses comandos:
|
||||
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
|
||||
Em sistemas sem logind, você precisa preparar o binário do sway:
|
||||
|
||||
sudo chmod a+s /usr/local/bin/sway
|
||||
|
||||
O sway perderá as privilégios de de root logo após o início do sistema.
|
||||
|
||||
## Configuração
|
||||
|
||||
Se você já utiliza o i3, então copie os seus arquivos de configuração para `~/.config/sway/config` e
|
||||
tudo funcionará normalmente. Caso contrário, copie o arquivo de configuração de exemplo para
|
||||
`~/.config/sway/config`. Normalmente, este arquivo está localizado em `/etc/sway/config`.
|
||||
Execute `man 5 sway` para se informar sobre a configuração.
|
||||
|
||||
## Execução
|
||||
|
||||
Execute o comando `sway` de um TTY. Alguns gerenciadores de display (ou gerenciadores de login) podem funcionar mas alguns não são suportaods
|
||||
pelo sway (o gdm é conhecido por funcionar bem).
|
||||
63
README.ro.md
63
README.ro.md
|
|
@ -1,63 +0,0 @@
|
|||
# sway
|
||||
|
||||
sway este un compositor pentru [Wayland](http://wayland.freedesktop.org/) compatibil cu [i3](https://i3wm.org/).
|
||||
Citiți [FAQ](https://github.com/swaywm/sway/wiki)-ul. Connectați-vă la canalul nostru [IRC](http://webchat.freenode.net/?channels=sway&uio=d4) (#sway pe irc.freenode.net).
|
||||
|
||||
Dacă doriți să contribuiți la dezvoltarea sway, vă rugăm contribuiți în [pagina de Patreon lui SirCmpwn](https://patreon.com/sircmpwn).
|
||||
|
||||
## Semnarea digitală
|
||||
|
||||
Noile versiuni sunt semnate cu [B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A)
|
||||
și postate [pe GitHub](https://github.com/swaywm/sway/releases).
|
||||
|
||||
## Instalare
|
||||
|
||||
### Din pachete (packages)
|
||||
|
||||
sway este disponibil în multe distribuții. Încercați să instalați pachetul "sway" pe distribuția voastră. Dacă nu este disponibil, uitați-vă în [această pagină wiki](https://github.com/swaywm/sway/wiki/Unsupported-packages)
|
||||
pentru informații a cum puteți să instalați pentru distribuția voastră.
|
||||
|
||||
Dacă sunteți interesați in a crea pachete pentru distribuția voastră, informați-ne prin IRC sau contactați prin email pe sir@cmpwn.com pentru ajutor.
|
||||
|
||||
### Compilare din sursă
|
||||
|
||||
Dependențe pentru instalare:
|
||||
|
||||
* meson \*
|
||||
* [wlroots](https://github.com/swaywm/wlroots)
|
||||
* wayland
|
||||
* wayland-protocols \*
|
||||
* pcre
|
||||
* json-c
|
||||
* pango
|
||||
* cairo
|
||||
* gdk-pixbuf2 (opțional, dacă doriți să aveți system tray)
|
||||
* [scdoc](https://git.sr.ht/~sircmpwn/scdoc) (opțional, pentru paginile man) \*
|
||||
* git (opțional, pentru informații de versiune) \*
|
||||
|
||||
*Dependențe doar pentru compilare*
|
||||
|
||||
Rulați aceste comenzi:
|
||||
|
||||
```
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
```
|
||||
|
||||
Pe sisteme fără logind, trebuie să folosiți următoarea comandă pentru a marca binarul de Sway ca suid:
|
||||
|
||||
```
|
||||
sudo chmod a+s /usr/local/bin/sway
|
||||
```
|
||||
|
||||
Imediat după pornire, Sway va renunța la permisiunile de root.
|
||||
|
||||
## Configurare
|
||||
|
||||
Dacă folosiți deja i3, copiați fișierul de configurare din i3 în `~/.config/sway/config`, și va funcționa fără a necesita nici o modificare. In caz contrar, copiați exemplul de configurare (disponibil de obicei în `/etc/sway/config`) în `~/.config/sway/config`.
|
||||
Folosiți comanda `man 5 sway` pentru informații despre configurare.
|
||||
|
||||
## Lansare
|
||||
|
||||
Folosiți comanda `sway` într-un TTY. Managerii de display nu sunt suportați de către Sway, dar unii pot functiona (se știe că gdm functioneazâ destul de bine).
|
||||
68
README.ru.md
68
README.ru.md
|
|
@ -1,68 +0,0 @@
|
|||
# sway
|
||||
|
||||
sway - это [i3](https://i3wm.org/)-совместимый композитор [Wayland](http://wayland.freedesktop.org/).
|
||||
Больше информации в [FAQ](https://github.com/swaywm/sway/wiki). Присоединяйтесь к
|
||||
[IRC-каналу](http://webchat.freenode.net/?channels=sway&uio=d4) (#sway на
|
||||
irc.freenode.net).
|
||||
|
||||
Если вы хотите поддержать разработку sway, сделайте пожертвование SirCmpwn на
|
||||
[странице Patreon](https://patreon.com/sircmpwn).
|
||||
|
||||
## Подписи релизов
|
||||
|
||||
Релизы подписываются ключом [B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A)
|
||||
и публикуются [на GitHub](https://github.com/swaywm/sway/releases).
|
||||
|
||||
## Установка
|
||||
|
||||
### Из репозиториев
|
||||
|
||||
sway доступен во многих дистрибутивах. Попробуйте установить пакет "sway".
|
||||
Если он вдруг недоступен, проверьте [эту страницу на wiki](https://github.com/swaywm/sway/wiki/Unsupported-packages)
|
||||
для получения информации о подробностях установки для вашего
|
||||
дистрибутива.
|
||||
|
||||
Если вы заинтересованы поддерживать sway в вашем дистрибутиве, загляните в наш IRC-канал
|
||||
или обратитесь на sir@cmpwn.com за советом.
|
||||
|
||||
### Сборка из исходников
|
||||
|
||||
Установите зависимости:
|
||||
|
||||
* meson \*
|
||||
* [wlroots](https://github.com/swaywm/wlroots)
|
||||
* wayland
|
||||
* wayland-protocols \*
|
||||
* pcre
|
||||
* json-c
|
||||
* pango
|
||||
* cairo
|
||||
* gdk-pixbuf2 (необязательно: для работы трея)
|
||||
* [scdoc](https://git.sr.ht/~sircmpwn/scdoc) (необязательно: для сборки man-страниц) \*
|
||||
* git \*
|
||||
|
||||
_\*Зависимости для сборки_
|
||||
|
||||
Выполните эти команды:
|
||||
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
|
||||
На системах без logind вам понадобится добавить suid к файлу программы sway:
|
||||
|
||||
sudo chmod a+s /usr/local/bin/sway
|
||||
|
||||
sway сбросит root-права при запуске.
|
||||
|
||||
## Настройка
|
||||
|
||||
Если вы уже используете i3, скопируйте ваш конфигурационный файл i3 в `~/.config/sway/config`, и
|
||||
он сразу же заработает. В противном случае, скопируйте образец конфигурационного файла в
|
||||
`~/.config/sway/config`. Обычно он располагается в `/etc/sway/config`.
|
||||
Запустите `man 5 sway` для изучения информации о настройке.
|
||||
|
||||
## Запуск
|
||||
|
||||
Выполните команду `sway` прямо из TTY. Некоторые дисплейные менеджеры могут работать, но они не поддерживаются со стороны
|
||||
sway (gdm работает довольно неплохо).
|
||||
78
README.uk.md
78
README.uk.md
|
|
@ -1,78 +0,0 @@
|
|||
# sway
|
||||
|
||||
Sway це сумісний з [i3](https://i3wm.org/) композитор [Wayland](http://wayland.freedesktop.org/).
|
||||
Ознайомтесь з [ЧаПами](https://github.com/swaywm/sway/wiki). Приєднуйтесь до [спільноти в
|
||||
IRC](http://webchat.freenode.net/?channels=sway&uio=d4) (#sway на
|
||||
irc.freenode.net).
|
||||
|
||||
Якщо ви маєте бажання підтримати розробку sway, ви можете зробити свій внесок на сторінці
|
||||
[SirCmpwn у Patreon](https://patreon.com/sircmpwn).
|
||||
|
||||
## Підтримка українською мовою
|
||||
|
||||
Якщо ви хочете отримати підтримку українською мовою, можете звернутись до користувача
|
||||
Hummer12007 у IRC-спільноті. Будьте терплячі, вам обов'язково допоможуть.
|
||||
|
||||
Наразі переклад Sway українською ще не завершено (він неповний), проте у вас є шанс долучитись,
|
||||
детальніше див. [статус](https://github.com/swaywm/sway/issues/1318#issuecomment-322277382).
|
||||
|
||||
## Підписи випусків
|
||||
|
||||
Випуски підписані ключем [B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A)
|
||||
та публікуються на сторінці [GitHub](https://github.com/swaywm/sway/releases).
|
||||
|
||||
## Встановлення
|
||||
|
||||
### З пакунків
|
||||
|
||||
Sway доступний у багатьох дистрибутивах Linux (а також у FreeBSD).
|
||||
Спробуйте встановити пакунок `sway` у вашому.
|
||||
Якщо він недоступний, перегляньте цю [сторінку Wiki](https://github.com/swaywm/sway/wiki/Unsupported-packages)
|
||||
для інформації щодо встановлення на вашому дистрибутиві.
|
||||
|
||||
Якщо ви готові та зацікавлені запакувати і підтримувати Sway у вашому
|
||||
дистрибутиві, звертайтесь за порадами до нашого каналу в IRC або
|
||||
пишіть на електронну пошту [sir@cmpwn.com](mailto:sir@cmpwn.com).
|
||||
|
||||
### З вихідного коду
|
||||
|
||||
Встановіть залежності:
|
||||
|
||||
* meson \*
|
||||
* [wlroots](https://github.com/swaywm/wlroots)
|
||||
* wayland
|
||||
* wayland-protocols \*
|
||||
* pcre
|
||||
* json-c
|
||||
* pango
|
||||
* cairo
|
||||
* gdk-pixbuf2 (optional: system tray)
|
||||
* [scdoc](https://git.sr.ht/~sircmpwn/scdoc) (необов'язково, необхідно для сторінок man) \*
|
||||
* git \*
|
||||
|
||||
_\*Лише для компіляції_
|
||||
|
||||
Виконайте ці команди:
|
||||
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
|
||||
На системах без logind, необхідно встановити біт SUID на виконуваний файл sway:
|
||||
|
||||
sudo chmod a+s /usr/local/bin/sway
|
||||
|
||||
Sway втратить права доступу root незабаром після запуску.
|
||||
|
||||
## Налаштування
|
||||
|
||||
Якщо ви вже використовуєте i3, скопіюйте свій файл налаштувань
|
||||
до `~/.config/sway/config`, він має запрацювати. Інакше, скопіюйте
|
||||
туди файл-зразок (зазвичай знаходиться у `/etc/sway/config`), і налаштуйте під себе.
|
||||
|
||||
Більше інформації щодо налаштувань можете знайти, виконавши `man 5 sway`.
|
||||
|
||||
## Запуск
|
||||
|
||||
Виконайте `sway` у TTY. Деякі дисплейні менеджери (менеджери сеансу/стільниць)
|
||||
можуть працювати, але офіційно не підтримуються (проте сумісніть із gdm достатньо висока).
|
||||
|
|
@ -1,66 +0,0 @@
|
|||
# sway
|
||||
|
||||
sway 是和 [i3](https://i3wm.org/) 兼容的 [Wayland](http://wayland.freedesktop.org/) compositor.
|
||||
阅读 [FAQ](https://github.com/swaywm/sway/wiki). 加入 [IRC
|
||||
频道](http://webchat.freenode.net/?channels=sway&uio=d4) (#sway on
|
||||
irc.freenode.net).
|
||||
|
||||
如果你想要支持 sway 的发展, 请到 [SirCmpwn's
|
||||
Patreon page](https://patreon.com/sircmpwn)贡献.
|
||||
|
||||
## 发布签名
|
||||
|
||||
发布是以 [B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A) 签名
|
||||
并发布在 [GitHub](https://github.com/swaywm/sway/releases).
|
||||
|
||||
## 安装
|
||||
|
||||
### 从软件包中
|
||||
|
||||
Sway 在很多发行版中可用. 尝试在你的发行版中安装 "sway" 包.
|
||||
如果这不可用, 请到 [此 wiki 页](https://github.com/swaywm/sway/wiki/Unsupported-packages)
|
||||
检查针对你的发行版关于安装的信息.
|
||||
|
||||
如果你有兴趣给你的发行版打包 sway, 停下来到 IRC 频道或者发邮件至 sir@cmpwn.com 获取建议.
|
||||
|
||||
### 从源代码编译
|
||||
|
||||
安装依赖:
|
||||
|
||||
* meson \*
|
||||
* [wlroots](https://github.com/swaywm/wlroots)
|
||||
* wayland
|
||||
* wayland-protocols \*
|
||||
* pcre
|
||||
* json-c
|
||||
* pango
|
||||
* cairo
|
||||
* gdk-pixbuf2 (可选的: system tray)
|
||||
* [scdoc](https://git.sr.ht/~sircmpwn/scdoc) (可选的: man pages) \*
|
||||
* git \*
|
||||
|
||||
_\*编译时依赖_
|
||||
|
||||
运行这些命令:
|
||||
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
|
||||
在没有 logind 的系统上, 你需要给 sway 二进制设置 suid:
|
||||
|
||||
sudo chmod a+s /usr/local/bin/sway
|
||||
|
||||
Sway 将会在启动后尽快丢掉 root 权限.
|
||||
|
||||
## 配置
|
||||
|
||||
如果你已经在使用 i3, 接下来复制你的 i3 配置到 `~/.config/sway/config`
|
||||
它可以直接工作. 或者, 复制样本配置文件到
|
||||
`~/.config/sway/config`. 它通常位于 `/etc/sway/config`.
|
||||
运行 `man 5 sway` 获取关于配置的信息.
|
||||
|
||||
## 运行
|
||||
|
||||
从 TTY 中运行 `sway` . 某些显示管理器可能会工作但并不被 sway 支持
|
||||
(已知的 gdm 工作得非常好).
|
||||
|
|
@ -1,64 +0,0 @@
|
|||
# sway
|
||||
|
||||
sway 是一個與 [i3](https://i3wm.org/) 相容的 [Wayland](http://wayland.freedesktop.org/) compositor。
|
||||
閱讀 [FAQ](https://github.com/swaywm/sway/wiki)。 加入 [IRC
|
||||
頻道](http://webchat.freenode.net/?channels=sway&uio=d4) (#sway on
|
||||
irc.freenode.net)
|
||||
|
||||
如果你想支持 sway 的開發,請到 [SirCmpwn's
|
||||
Patreon page](https://patreon.com/sircmpwn) 貢獻。
|
||||
|
||||
## 發行簽章
|
||||
|
||||
所有發行的版本都會以 [B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A) 簽署
|
||||
並發佈於 [GitHub](https://github.com/swaywm/sway/releases)
|
||||
|
||||
## 安裝
|
||||
|
||||
### 從套件安裝
|
||||
|
||||
Sway 在許多發行版都有提供。請自己嘗試於你的發行版安裝 「sway」這個套件。
|
||||
如果無法取得,請查看 [這個 wiki 頁面](https://github.com/swaywm/sway/wiki/Unsupported-packages)
|
||||
以取得更多關於如何於你使用的發行版上安裝的資訊。
|
||||
|
||||
如果你想要為你使用的發行版包裝 sway,請到 IRC 頻道或是直接寄封信到 sir@cmpwn.com 來取得一些建議。
|
||||
|
||||
### 從原始碼編譯
|
||||
|
||||
相依套件:
|
||||
|
||||
* meson \*
|
||||
* [wlroots](https://github.com/swaywm/wlroots)
|
||||
* wayland
|
||||
* wayland-protocols \*
|
||||
* pcre
|
||||
* json-c
|
||||
* pango
|
||||
* cairo
|
||||
* gdk-pixbuf2 (選擇性: system tray)
|
||||
* [scdoc](https://git.sr.ht/~sircmpwn/scdoc) (選擇性: man pages) \*
|
||||
* git \*
|
||||
|
||||
_\*編譯時相依_
|
||||
|
||||
執行這些指令:
|
||||
|
||||
meson build
|
||||
ninja -C build
|
||||
sudo ninja -C build install
|
||||
|
||||
在沒有 logind 的系統上,你需要為 sway 的執行檔加上 suid。
|
||||
|
||||
sudo chmod a+s /usr/local/bin/sway
|
||||
|
||||
Sway 在啟動不久後就會放棄 root 權限。
|
||||
|
||||
## 設定檔
|
||||
|
||||
如果你已經在使用 i3,你可以直接將你的 i3 設定檔複製到 `~/.config/sway/config` 然後就能直接使用。
|
||||
或者你也可以把範例設定檔複製到 `~/.config/sway/config`。 它通常會在 `/etc/sway/config`。
|
||||
執行 `man 5 sway` 來取得更多關於設定檔的資訊。
|
||||
|
||||
## 執行
|
||||
|
||||
在 TTY 執行 `sway`。有些 display manager 可能可以運作但 sway 不提供支援 (已知 gdm 運作的很好)
|
||||
|
|
@ -111,6 +111,29 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
|
|||
*border* toggle
|
||||
Cycles through the available border styles.
|
||||
|
||||
*border-images.<class>* <folder_path>
|
||||
Configures the images used for borders. The _folder_path_ is expected to be
|
||||
the full path, with a trailing slash, to a folder that contains 8 PNG images
|
||||
named 0.png, 1.png, ..., 7.png. These images are used in clockwise order,
|
||||
starting from the top-left corner, ending on the left edge. For the classes
|
||||
below, _container_ refers to a container which has gaps around it.
|
||||
|
||||
The available classes are:
|
||||
|
||||
*border_images.focused*
|
||||
The container which is focused or has a window that has focus.
|
||||
|
||||
*border_images.focused_inactive*
|
||||
The container which has the most recently focused view within a container
|
||||
which is not focused.
|
||||
|
||||
*border_images.unfocused*
|
||||
A container with all of its views unfocused.
|
||||
|
||||
*border_images.urgent*
|
||||
A container which has view with an urgency hint. *Note*: Native Wayland windows do not
|
||||
support urgency. Urgency only works for Xwayland windows.
|
||||
|
||||
*exit*
|
||||
Exit sway and end your Wayland session.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue