Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
191 commits
Select commit Hold shift + click to select a range
274a5fc
build: Bump wlroots version
Billli11 Jul 13, 2024
fc2796a
Chase wlroots!2434
Billli11 Jul 14, 2024
50073dc
ci: use package x11-servers/xwayland instead of x11-servers/xwayland-…
Billli11 Jul 14, 2024
a3a9ec1
build: use fs.relative_to() instead of hand-rolled logic
emersion Jul 14, 2024
3f327b3
desktop/output: Stop repaint loop when not needed
kennylevinsen Jul 14, 2024
4d4c88f
layer-shell: Restore interactive layer focus code
joanbm Jul 20, 2024
7e74a49
desktop/xwayland: don't restack when marking window as inactive
emersion Jul 29, 2024
9bb45a4
xwayland: chase wlr_xwayland_surface_set_maximized() change
vyivel Aug 2, 2024
6e4ccb9
build: avoid git repository discovery when determining version
jdknight Aug 3, 2024
b881c2e
transaction: Reparent all container children when disabling for scrat…
Nefsen402 Jul 10, 2024
9a1c411
Add support for tearing-control-v1
RicArch97 Aug 5, 2024
05e895c
Add support for linux-drm-syncobj-v1
emersion May 10, 2024
3e956b9
tearing: remove trailing whitespace
vyivel Aug 7, 2024
32e5e52
tearing: fix UAF on destroy
vyivel Aug 7, 2024
951a22c
xwayland: Let scene restack
Nefsen402 Aug 7, 2024
f344e9d
Add null-safety check for virtual keyboard keymaps
JingMatrix Aug 8, 2024
9ba1bee
Bind a few utilities to special keys in default config
emersion Feb 29, 2024
b440155
Switch default config to wmenu-run
emersion Aug 11, 2024
6576b99
commands/output/color_profile: allows use of relative path for ICC pr…
qwertviop Aug 7, 2024
5a36214
output: Use wlr_scene_output_needs_frame
Nefsen402 Aug 14, 2024
c327994
output: Use wlr_scene_set_gamma_control_manager_v1
Nefsen402 Aug 14, 2024
c30c451
xdg-shell: chase xdg_surface geometry updates
vyivel Aug 14, 2024
ae7c1b1
config/output: Do not set adaptive_sync if not supported
kennylevinsen Aug 18, 2024
f9c0f04
config/output: Skip search if config has a mode
kennylevinsen Aug 19, 2024
7288f77
output: Chase wlroots!4803
Nefsen402 Aug 21, 2024
f00f964
sway/commands/move.c: arrange new workspace
navi-desu Jun 29, 2024
77b9dda
sway/tree/container: don't trunc coords in `floating_fix_coordinates`
llyyr Aug 22, 2024
f2b2a81
Use heading markdown to demarcate sections of commands
jonmon6691 Aug 27, 2024
980a4e0
use subheadings instead
jonmon6691 Aug 27, 2024
be840f7
move title_format to container
bwskin Sep 2, 2024
b83e5aa
desktop/output: Do not use commit listener to arrange
kennylevinsen Sep 3, 2024
6045ad9
tree/output: Rely on modeset arranging root
kennylevinsen Sep 3, 2024
af28ac0
(desktop|tree)/output: Do not use layout listener to arrange
kennylevinsen Sep 3, 2024
cfb292c
desktop/output: Avoid duplicate output manager update
kennylevinsen Sep 5, 2024
4fe054c
tree/output: Avoid duplicate input mapping configure
kennylevinsen Sep 5, 2024
fc6b8d6
container: Skip % char if it doesn't match a view property
Nefsen402 Sep 6, 2024
4f9ce46
tree/arrange: Remove redundant output geometry update
kennylevinsen Sep 5, 2024
14bff7b
desktop/transaction: Deactivate workspace on inactive outputs
kennylevinsen Sep 5, 2024
f4a6b03
tree/arrange; Skip arranging disabled outputs
kennylevinsen Sep 5, 2024
c5ba7f2
sway/input/keyboard: always set active keyboard if there is none
llyyr Sep 8, 2024
fb5eadc
readme: update Czech translation
Sep 7, 2024
a0c0349
config/output: Support multiple matches in find_output_config
kennylevinsen Sep 5, 2024
0496477
config/output: Always start with default in find_output_config
kennylevinsen Sep 9, 2024
29b3f00
config/output: Accept a list of output_configs to use
kennylevinsen Sep 9, 2024
d7a76d3
config/output: Rename to apply_stored_output_configs
kennylevinsen Sep 9, 2024
f957c7e
config/output: support DRM_FORMAT_ARGB8888
sdirkwinkel Sep 13, 2024
785a459
ext-session-lock: Do not use commit listener to arrange
kennylevinsen Sep 17, 2024
034d02f
config/output: Add support for 6-bit render fmt
kennylevinsen Aug 29, 2024
9765c29
config/output: Stringify render format when logging it
kennylevinsen Aug 30, 2024
e940acd
Add toggle for output adaptive_sync
Emil-Engberg Sep 20, 2024
266cd45
Remove unguarded double include
Sep 20, 2024
4806909
text_input: Check for allocation failure
Nefsen402 Jun 5, 2024
1537c9d
text_input: Move popup placement to own function
Nefsen402 Aug 4, 2024
023f6b0
transaction: Allow no popup descriptor in popup list
Nefsen402 Aug 4, 2024
74e5079
text_input: Properly handle map/unmap events
Nefsen402 Aug 4, 2024
e9dd218
text_input: Inline input_popup_update into input_popup_set_focus
Nefsen402 Jun 8, 2024
861dde1
commands/gaps: Check config->reading instead
kennylevinsen Sep 20, 2024
b6da218
Removed destination-is-ancestor check from container_move_to_containe…
Myrdden Feb 15, 2022
b73f54a
desktop/output: Expose request_modeset
kennylevinsen Sep 20, 2024
cdff4f7
config: Batch input/output configuration on load
kennylevinsen Sep 20, 2024
6334597
desktop/output: Clear modeset timer on output manager apply
kennylevinsen Sep 20, 2024
00e9a94
swaybar: Fix 100% cpu usage if dbus dies.
sahinf Sep 25, 2024
a0b3606
Add support for alpha-modifier-v1
emersion Sep 29, 2024
a2757e5
release: push tags before creating GitHub release
emersion Sep 29, 2024
9a9be01
Fix alpha-modifier-v1
Nefsen402 Sep 29, 2024
c90cb37
Re-init renderer for all outputs on lost context
kennylevinsen Oct 2, 2024
f855b08
fix: sway crashes if switch to another workspace with surface when IM…
Decodetalkers Oct 7, 2024
7f1cd0b
input/mouse: bugfix button2 being interpreted as trying to move the c…
sahinf Oct 8, 2024
17e2e52
server: check backend support for timelines
emersion Oct 10, 2024
dd063a0
input/keyboard: add support for pointer keys
emersion Aug 8, 2024
db76fef
trigger container update after disabling urgent in timer
jpalus Oct 16, 2024
ce6b2db
layer_shell: Arrange exclusive zone clients first
Nefsen402 Oct 14, 2024
8363699
layer_shell: Restore sway 1.9 ordering
Nefsen402 Oct 17, 2024
35d8ade
input/seatop_default: refactor move/resize button logic
emersion Oct 13, 2024
7d93652
config/output: Improve modeset state logging
kennylevinsen Oct 16, 2024
7e0c0dd
config/output: Always set output states from config
kennylevinsen Oct 16, 2024
af0d4a0
config/output: Always set all output fields on finalize
kennylevinsen Oct 16, 2024
17ecb9e
config/output: Remove initial values in find_output_config
kennylevinsen Oct 16, 2024
a630272
config/output: Remove remaining logs from queue_output_config
kennylevinsen Oct 16, 2024
015e357
desktop/output: chase wlroots private fields update
vyivel Oct 25, 2024
839434a
sway/server: bind to presentation-time-v2
llyyr Oct 15, 2024
e7c972b
Remove language bars from remaining non-English README files
AsciiWolf Oct 28, 2024
1e53007
desktop/output: Store output config on request_state
kennylevinsen Oct 28, 2024
f38719f
desktop/output: Add missing output config allocation checks
kennylevinsen Oct 28, 2024
d417a8f
release.sh: read meson-rewrite output from stdout
emersion Oct 27, 2024
4cfcb36
container: Properly constrain title bar padding
Nefsen402 Nov 3, 2024
78fa4e9
config/output: Update output position in two passes
kennylevinsen Nov 5, 2024
62fd8c4
desktop/transaction: clamp vertical border length to 0
mTvare6 Oct 29, 2024
03483ff
swaynag: fix null dereference on scale change
mstoeckl Nov 9, 2024
f23d100
swaybar: Emit property changes for SNI watcher
joanbm Nov 10, 2024
463c4c9
desktop/output: Clean up output state if build_state fails
kennylevinsen Nov 11, 2024
fdc4318
desktop/output: Clear frame_pending even output is disabled
kennylevinsen Nov 11, 2024
96db66a
Fix orthographic mistakes in Hungarian README
solt87 Nov 16, 2024
6111297
config: Force modeset before running deferred configs
kennylevinsen Nov 11, 2024
a2c73c9
ipc-server: Force modeset if needed after executing commands
kennylevinsen Nov 17, 2024
fec3da7
commands/include: handle many files in single line
mTvare6 Nov 13, 2024
5312376
desktop/output: Clear repaint timer earlier in destroy
kennylevinsen Nov 17, 2024
e2409aa
ipc-json: handle LIBINPUT_CONFIG_DRAG_LOCK_ENABLED_STICKY
emersion Nov 20, 2024
bbadf9b
Add support for LIBINPUT_CONFIG_DRAG_LOCK_ENABLED_STICKY
emersion Nov 20, 2024
4faf0f9
tree/container: remove output_{enter,leave} listeners in destroy
vimproved Nov 22, 2024
1d78379
input/libinput: fix builtin device detection logic
kuruczgy Nov 20, 2024
4eb86fc
input/libinput: fix parsing input drag_lock command
baltitenger Dec 8, 2024
f293418
swaybar: Handle opaque region properly
Nefsen402 Dec 8, 2024
801bc76
Explain that the title bar always shows
xuhdev Dec 17, 2024
c55dff9
stringop: move over has_prefix()
emersion Jan 7, 2025
0c60d15
Use has_prefix() instead of strncmp() throughout
emersion Jan 7, 2025
a1838c5
Fix has_prefix() comparisons with 0
emersion Jan 7, 2025
c7c0a5a
config/output: skip format checks if all are supported
mTvare6 Jan 8, 2025
a6c0441
config/output: don't hardcode DMA-BUF in search_render_format()
emersion Jan 8, 2025
3629a83
layer_shell: cleanup new_popup listener when destroying node
llyyr Jan 11, 2025
e3f0ba4
Increase max default buffer size to 1 MiB
jimdrie Jan 11, 2025
cff16d3
tree/view: add getters for sandbox properties
jacobmcnamee Dec 27, 2024
60f06fc
ipc-json: add sandbox properties to view JSON
puckipedia Sep 26, 2022
3ab1f0c
criteria: add sandbox properties
puckipedia Aug 7, 2022
f177d05
tree/container: support sandbox properties in title format
jacobmcnamee Dec 27, 2024
0b08dce
swaymsg: pretty-print sandbox properties
jacobmcnamee Jan 4, 2025
30c8584
config/output: don't leak background_fallback
llyyr Jan 16, 2025
8acb048
Add ext-image-copy-capture-v1 and ext-image-capture-source-v1
emersion Feb 12, 2024
3ff6098
Drop wlr_matrix.h include from sway/desktop/output.c
Billli11 Jan 26, 2025
d093c2e
input/cursor: remove tool_proximity listener in destroy
layercak3 Jan 27, 2025
851b8c6
man: Document bar mode toggle command
danbaterisna Feb 6, 2025
4852087
output/background: fix config ignoring fallback color
sahinf Feb 3, 2025
c1031d8
sway/ipc-json: add ext-foreign-toplevel-handle identifier to get_tree…
Ferdi265 Feb 16, 2025
10e50e6
docs: use "window" instead of "view" throughout.
markstos Feb 16, 2025
38005bd
output: Expose output_configure_scene to header
Nefsen402 Feb 18, 2025
0da0d37
output: Allow configuring scene without an output
Nefsen402 Feb 18, 2025
7fab75a
commands/opacity: Call output_configure_scene on updated container
Nefsen402 Feb 18, 2025
8a60f30
sway_text_node: Apply max_width when rendering
kennylevinsen Feb 25, 2025
962e1e7
sway_text_node: Remove use of source box
kennylevinsen Feb 25, 2025
e3d9cc2
Rework fork/exec strategy
kennylevinsen Feb 11, 2025
048e304
Remove constraint that con->view != NULL to use __focused__ criteria
cperl82 Mar 7, 2025
9dcccf7
Add the DesktopNames key to the sway.desktop session file
nilninull Feb 4, 2024
5d7b9a8
sway/server: create ext-data-control manager
llyyr Mar 8, 2025
8238e52
Use SIG_IGN for SIGCHLD instead of our own handler
kennylevinsen Mar 9, 2025
61cc08c
config/output: Reset everything before swaybg exec
kennylevinsen Mar 9, 2025
2f5b3c0
Fix output repositioning in global fullscreen
melvinm1 Mar 15, 2025
3a49409
sway/commands: Return error if container is not in scratchpad
piwonskp Mar 12, 2025
30434b2
desktop/output: Skip repaint if wlr_output is disabled
kennylevinsen Mar 18, 2025
d148560
text_input: Fix ime panic in ext-session-lock
Decodetalkers Mar 20, 2025
4b185a0
stringop: fix has_prefix() arg order in config parsing
paul-ri Mar 20, 2025
c2d6aff
Avoid crashing on too many containers
kennylevinsen Mar 12, 2025
ab455bb
man: clarify criteria (incl. PCRE2 usage)
sandwm Feb 11, 2025
a25645a
Fix tabbed/stacking container height regression
claui Mar 26, 2025
cb246cb
ipc: standardize pretty print with raw print
sahinf Apr 8, 2025
8f089f0
Use wl_event_loop_add_signal for exit signals
danieldg Mar 10, 2025
5e6a6ea
idle_inhibit: Ignore inhibitors when locked
kennylevinsen May 23, 2024
541183b
idle_inhibit: Explicitly handle layer surfaces
kennylevinsen May 23, 2024
cc48222
idle_inhibit: Assume view is invisible by default
kennylevinsen May 23, 2024
583862e
idle_inhibit: Check if layer surface output is enabled
kennylevinsen Jun 10, 2024
0a9b0b8
server: remove event listeners on fini
Ferdi265 Feb 18, 2025
e51ecf7
input/input-manager: remove event listeners on fini
Ferdi265 Feb 18, 2025
92c82e6
desktop/idle_inhibit: remove event listeners on destroy
Ferdi265 Feb 18, 2025
53126cd
input/text_input: remove event listeners on destroy
Ferdi265 Feb 18, 2025
ab2e1f5
tree/container: remove event listeners on destroy
Ferdi265 Feb 18, 2025
240a69a
server: recreate renderer in idle callback to avoid UAF
Ferdi265 Mar 21, 2025
4943534
server: fix shutdown crash when running on x11 backend
agorgl Apr 14, 2025
3f0b3f8
Fix crash on shutdown when Xwayland is disabled
emersion Apr 14, 2025
7733bf9
Remove duplicate arrange_container
FilipVujicic Apr 14, 2025
8a8c78d
layer_shell: destroy layer_surface on assigned output destruction
llyyr Apr 16, 2025
d3e1c13
swaymsg, swaynag: drop sway_terminate() definitions
emersion Apr 17, 2025
0153bc9
server: move sway_terminate() definition to header
emersion Apr 17, 2025
1d4632f
Drop wl_drm again
emersion Jul 13, 2024
86ff19f
build: bump version to 1.11-rc1
emersion Apr 20, 2025
0e19d85
Use pthread_atfork() to restore signals and NOFILE limit
emersion Apr 20, 2025
38a42f9
Replace signal() with sigaction()
emersion Apr 27, 2025
5b8874e
sway/commands: Handle incorrect resize unit
sahinf Apr 24, 2025
6894b49
build: bump version to 1.11-rc2
emersion Apr 27, 2025
caeee85
Fix includes with relative paths
May 3, 2024
983af1a
config/output: Use INT_MAX as x/y unset value
kennylevinsen Apr 30, 2025
6db0dd5
config/output: Fix missing output config supersedes
kennylevinsen Apr 29, 2025
05ffe54
transaction: Ensure all tabs are visible in tabbed mode
alex-huff May 4, 2025
557d8ea
input/seatop_down: Update decorations for touchscreen inputs
sahinf Apr 25, 2025
c70ac15
move: fix broken titlebar when moving child to new workspace
alex-huff May 8, 2025
860cd42
transaction: ensure border scene is enabled for floating containers
alex-huff May 15, 2025
4f4cb56
raise scratchpad container
odyxz Jan 6, 2025
ac54112
build: bump version to 1.11-rc3
emersion May 18, 2025
9bf79b3
ci: pin wlroots to 0.19.x
emersion May 20, 2025
d68ea76
transaction: fix size of child container decorations in stacking layouts
alex-huff May 6, 2025
eca8434
transaction: reparent scenes of containers behind fullscreen containers
alex-huff May 9, 2025
0611f96
input: fix udev_device leak
emersion May 19, 2025
3c9294f
layer-shell: reclaim space from unmapped layer surfaces
alex-huff May 21, 2025
27509eb
transaction: fix floating fullscreen containers
alex-huff May 22, 2025
e811a7b
output: Minimize interaction with output after destroy
kennylevinsen May 5, 2025
35c4d8e
tree/workspace: Remove exclude arg from get_highest_available
kennylevinsen May 6, 2025
5038e4c
Improve example of input section in default config
bonsaiiV May 24, 2025
2871700
Log message on for_window command error
emersion Apr 27, 2025
8174ff2
build: bump version to 1.11-rc4
emersion May 25, 2025
f4a33dc
server: fix socket path memory leak
zzxyb Jun 5, 2025
990b23c
build: bump version to 1.11
emersion Jun 8, 2025
8d97b7d
chore: update debian files from upstream
kgilmer Aug 15, 2025
6378939
chore: fix up patches
kgilmer Aug 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .builds/alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ packages:
- hwdata-dev
sources:
- https://github.com/swaywm/sway
- https://gitlab.freedesktop.org/wlroots/wlroots.git
- https://gitlab.freedesktop.org/wlroots/wlroots.git#0.19
tasks:
- wlroots: |
cd wlroots
Expand Down
2 changes: 1 addition & 1 deletion .builds/archlinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ packages:
- hwdata
sources:
- https://github.com/swaywm/sway
- https://gitlab.freedesktop.org/wlroots/wlroots.git
- https://gitlab.freedesktop.org/wlroots/wlroots.git#0.19
tasks:
- wlroots: |
cd wlroots
Expand Down
4 changes: 2 additions & 2 deletions .builds/freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ packages:
- x11/libX11
- x11/pixman
- x11/xcb-util-wm
- x11-servers/xwayland-devel
- x11-servers/xwayland
- misc/hwdata
sources:
- https://github.com/swaywm/sway
- https://gitlab.freedesktop.org/wlroots/wlroots.git
- https://gitlab.freedesktop.org/wlroots/wlroots.git#0.19
tasks:
- setup: |
cd sway
Expand Down
11 changes: 7 additions & 4 deletions README.cs.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# sway

[English][en] - **[Česky][cs]** - [Deutsch][de] - [Dansk][dk] - [Español][es] - [Français][fr] - [Svenska][sv] - [Ελληνικά][gr] - [हिन्दी][hi] - [Magyar][hu] - [فارسی][ir] - [Italiano][it] - [日本語][ja] - [한국어][ko] - [Nederlands][nl] - [Polski][pl] - [Português][pt] - [Română][ro] - [Русский][ru] - [Türkçe][tr] - [Українська][uk] - [中文-简体][zh-CN] - [中文-繁體][zh-TW]

sway je s [i3] kompatibilní [Wayland] kompozitor. Přečtěte si [FAQ]. Připojte se na
[IRC kanál][IRC channel] \(#sway na irc.libera.chat).

Expand Down Expand Up @@ -32,10 +30,11 @@ Nainstalujte závislosti:
* pango
* cairo
* gdk-pixbuf2 (volitelné: oznamovací oblast)
* [swaybg] (volitelné: tapeta)
* [scdoc] (volitelné: manuálové stránky) \*
* git (volitelné: informace o verzi) \*

_\* Závislost pouze pro sestavení_
_\* Závislost pouze pro kompilaci_

Spusťte tyto příkazy:

Expand All @@ -56,12 +55,13 @@ Spusťte `sway` z TTY. Některé správce zobrazení mohou fungovat, ale nejsou
podporovány sway (je známo, že gdm funguje docela dobře).

[en]: https://github.com/swaywm/sway#readme
[ar]: README.ar.md
[cs]: README.cs.md
[de]: README.de.md
[dk]: README.dk.md
[es]: README.es.md
[fr]: README.fr.md
[sv]: README.sv.md
[ge]: README.ge.md
[gr]: README.gr.md
[hi]: README.hi.md
[hu]: README.hu.md
Expand All @@ -70,10 +70,12 @@ podporovány sway (je známo, že gdm funguje docela dobře).
[ja]: README.ja.md
[ko]: README.ko.md
[nl]: README.nl.md
[no]: README.no.md
[pl]: README.pl.md
[pt]: README.pt.md
[ro]: README.ro.md
[ru]: README.ru.md
[sv]: README.sv.md
[tr]: README.tr.md
[uk]: README.uk.md
[zh-CN]: README.zh-CN.md
Expand All @@ -86,4 +88,5 @@ podporovány sway (je známo, že gdm funguje docela dobře).
[GitHub releases]: https://github.com/swaywm/sway/releases
[Development setup]: https://github.com/swaywm/sway/wiki/Development-Setup
[wlroots]: https://gitlab.freedesktop.org/wlroots/wlroots
[swaybg]: https://github.com/swaywm/swaybg/
[scdoc]: https://git.sr.ht/~sircmpwn/scdoc
14 changes: 7 additions & 7 deletions README.hu.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# sway

A Sway egy [i3]-kompatibilis [Wayland] kompozitor. Olvasd el a [Gyarkan Ismételt Kérdéseket][FAQ]. Csatlakozz az [IRC csatornához][IRC channel] \(`#sway` az `irc.libera.chat`-en).
A Sway egy [i3]-kompatibilis [Wayland]-kompozitor. Olvasd el a [Gyarkan Ismételt Kérdéseket][FAQ]. Csatlakozz az [IRC-csatornához][IRC channel] \(`#sway` az `irc.libera.chat`-en).

## Csomag aláírások
## Csomagaláírások

A kiadott csomagok az [E88F5E48] kulccsal vannak aláírva és [GitHub-on][GitHub releases] publikálva.
A kiadott csomagok az [E88F5E48] kulccsal vannak aláírva, és [GitHubon][GitHub releases] publikálva.

## Telepítés

Expand All @@ -13,12 +13,12 @@ A kiadott csomagok az [E88F5E48] kulccsal vannak aláírva és [GitHub-on][GitHu
A Sway sok disztribúció csomagkezelőjéből elérhető, próbáld meg a "sway"
csomagot telepíteni az általad használt eszközzel.

Ha szeretnél csomagot készíteni a saját disztribúciódhoz, ugorj be az IRC
Ha szeretnél csomagot készíteni a saját disztribúciódhoz, ugorj be az IRC-
csatornára, vagy küldj levelet a [email protected] címre tanácsokért.

### Fordítás forráskódból

Olvasd el [ezt a wiki oldalt][Development setup], ha szeretnéd tesztelési vagy
Olvasd el [ezt a wikioldalt][Development setup], ha szeretnéd tesztelési vagy
fejlesztési célokból lefordítani az aktuális (HEAD) állapotát a `sway`-nek és a
`wlroots`-nak.

Expand Down Expand Up @@ -46,7 +46,7 @@ Futtasd ezeket a parancsokat:

## Konfiguráció

Ha előzőleg i3-mat használtál, akkor átmásolhatod az i3 beállításaidat a
Ha előzőleg i3-at használtál, akkor átmásolhatod az i3-beállításaidat a
`~/.config/sway/config` file-ba és ugyanúgy működni fognak. Egyéb esetben másold
le kiindulási alapnak a mintát, ami általában az `etc/sway/config` elérési
útvonalon található.
Expand All @@ -55,7 +55,7 @@ kapcsolatban.

## Futtatás

Futtasd a `sway` parancsot egy TTY felületről. Néhány bejelentkezéskezelő
Futtasd a `sway` parancsot egy TTY-felületről. Néhány bejelentkezéskezelő
(display manager) működhet, de alapvetően nem támogatottak a sway által. (A
gdm-ről ismeretes, hogy egész jól működik.)

Expand Down
2 changes: 0 additions & 2 deletions README.sv.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# sway

[English][en] - [Deutsch][de] - [Dansk][dk] - [Español][es] - [Français][fr] - **[Svenska][sv]** - [Ελληνικά][gr] - [Magyar][hu] - [فارسی][ir] - [Italiano][it] - [日本語][ja] - [한국어][ko] - [Nederlands][nl] - [Polski][pl] - [Português][pt] - [Română][ro] - [Русский][ru] - [Türkçe][tr] - [Українська][uk] - [中文-简体][zh-CN] - [中文-繁體][zh-TW]

sway är en [i3]-kompatibel [Wayland] compositor. Läs våran [FAQ]-sida. Gå med i vår
[IRC-kanal] \(#sway på irc.libera.chat).

Expand Down
4 changes: 4 additions & 0 deletions common/stringop.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,3 +360,7 @@ char *format_str(const char *fmt, ...) {
va_end(args);
return str;
}

bool has_prefix(const char *str, const char *prefix) {
return strncmp(str, prefix, strlen(prefix)) == 0;
}
25 changes: 20 additions & 5 deletions config.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ set $right l
# Your preferred terminal emulator
set $term foot
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
set $menu dmenu_path | wmenu | xargs swaymsg exec --
set $menu wmenu-run

### Output configuration
#
Expand Down Expand Up @@ -48,14 +46,18 @@ output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
#
# Example configuration:
#
# input "2:14:SynPS/2_Synaptics_TouchPad" {
# input type:touchpad {
# dwt enabled
# tap enabled
# natural_scroll enabled
# middle_emulation enabled
# }
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# input type:keyboard {
# xkb_layout "eu"
# }
#
# You can also configure each device individually.
# Read `man 5 sway-input` for more information about this section.

### Key bindings
Expand Down Expand Up @@ -195,6 +197,19 @@ mode "resize" {
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
#
# Utilities:
#
# Special keys to adjust volume via PulseAudio
bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle
bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
# Special keys to adjust brightness via brightnessctl
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
# Special key to take a screenshot with grim
bindsym Print exec grim

#
# Status Bar:
Expand Down
Loading