diff options
author | NightFeather <ss900328@gmail.com> | 2019-12-30 16:45:06 +0800 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-12-30 09:45:06 +0100 |
commit | 658b7796620407890a9251972211ac4c6b5dbaed (patch) | |
tree | 21f945318483a71bae210d9ee2d8e117d0e9f3e0 /README.zh-TW.md | |
parent | cmd_client_*: support optional args for i3 compat (diff) | |
download | sway-658b7796620407890a9251972211ac4c6b5dbaed.tar.gz sway-658b7796620407890a9251972211ac4c6b5dbaed.tar.zst sway-658b7796620407890a9251972211ac4c6b5dbaed.zip |
Add Chinese (zh-TW) translation of README
Co-authored-by: xdavidwu <xdavidwuph@gmail.com>
Diffstat (limited to 'README.zh-TW.md')
-rw-r--r-- | README.zh-TW.md | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/README.zh-TW.md b/README.zh-TW.md new file mode 100644 index 00000000..a27ac640 --- /dev/null +++ b/README.zh-TW.md | |||
@@ -0,0 +1,64 @@ | |||
1 | # sway | ||
2 | |||
3 | sway 是一個與 [i3](https://i3wm.org/) 相容的 [Wayland](http://wayland.freedesktop.org/) compositor。 | ||
4 | 閱讀 [FAQ](https://github.com/swaywm/sway/wiki)。 加入 [IRC | ||
5 | 頻道](http://webchat.freenode.net/?channels=sway&uio=d4) (#sway on | ||
6 | irc.freenode.net) | ||
7 | |||
8 | 如果你想支持 sway 的開發,請到 [SirCmpwn's | ||
9 | Patreon page](https://patreon.com/sircmpwn) 貢獻。 | ||
10 | |||
11 | ## 發行簽章 | ||
12 | |||
13 | 所有發行的版本都會以 [B22DA89A](http://pgp.mit.edu/pks/lookup?op=vindex&search=0x52CB6609B22DA89A) 簽署 | ||
14 | 並發佈於 [GitHub](https://github.com/swaywm/sway/releases) | ||
15 | |||
16 | ## 安裝 | ||
17 | |||
18 | ### 從套件安裝 | ||
19 | |||
20 | Sway 在許多發行版都有提供。請自己嘗試於你的發行版安裝 「sway」這個套件。 | ||
21 | 如果無法取得,請查看 [這個 wiki 頁面](https://github.com/swaywm/sway/wiki/Unsupported-packages) | ||
22 | 以取得更多關於如何於你使用的發行版上安裝的資訊。 | ||
23 | |||
24 | 如果你想要為你使用的發行版包裝 sway,請到 IRC 頻道或是直接寄封信到 sir@cmpwn.com 來取得一些建議。 | ||
25 | |||
26 | ### 從原始碼編譯 | ||
27 | |||
28 | 相依套件: | ||
29 | |||
30 | * meson \* | ||
31 | * [wlroots](https://github.com/swaywm/wlroots) | ||
32 | * wayland | ||
33 | * wayland-protocols \* | ||
34 | * pcre | ||
35 | * json-c | ||
36 | * pango | ||
37 | * cairo | ||
38 | * gdk-pixbuf2 (選擇性: system tray) | ||
39 | * [scdoc](https://git.sr.ht/~sircmpwn/scdoc) (選擇性: man pages) \* | ||
40 | * git \* | ||
41 | |||
42 | _\*編譯時相依_ | ||
43 | |||
44 | 執行這些指令: | ||
45 | |||
46 | meson build | ||
47 | ninja -C build | ||
48 | sudo ninja -C build install | ||
49 | |||
50 | 在沒有 logind 的系統上,你需要為 sway 的執行檔加上 suid。 | ||
51 | |||
52 | sudo chmod a+s /usr/local/bin/sway | ||
53 | |||
54 | Sway 在啟動不久後就會放棄 root 權限。 | ||
55 | |||
56 | ## 設定檔 | ||
57 | |||
58 | 如果你已經在使用 i3,你可以直接將你的 i3 設定檔複製到 `~/.config/sway/config` 然後就能直接使用。 | ||
59 | 或者你也可以把範例設定檔複製到 `~/.config/sway/config`。 它通常會在 `/etc/sway/config`。 | ||
60 | 執行 `man 5 sway` 來取得更多關於設定檔的資訊。 | ||
61 | |||
62 | ## 執行 | ||
63 | |||
64 | 在 TTY 執行 `sway`。有些 display manager 可能可以運作但 sway 不提供支援 (已知 gdm 運作的很好) | ||