summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md10
-rw-r--r--config3
-rw-r--r--sway/border.c2
-rw-r--r--swaybar/bar.c2
4 files changed, 7 insertions, 10 deletions
diff --git a/README.md b/README.md
index 5fe66769..adba9dd0 100644
--- a/README.md
+++ b/README.md
@@ -27,12 +27,12 @@ and published [on GitHub](https://github.com/SirCmpwn/sway/releases).
27Sway is not supported by many distributions yet. Here's a list of packages 27Sway is not supported by many distributions yet. Here's a list of packages
28available for you to install: 28available for you to install:
29 29
30* [Arch Linux](https://www.archlinux.org/packages/?q=sway) 30* [Arch Linux](https://github.com/SirCmpwn/sway/wiki/Install-from-packages#arch)
31* [Gentoo](https://packages.gentoo.org/packages/dev-libs/sway) 31* [Gentoo](https://github.com/SirCmpwn/sway/wiki/Install-from-packages#gentoo)
32* [NixOS](https://github.com/NixOS/nixpkgs/tree/b4bae44f13ba9598209ae9e6a0bb5d4194bf79aa/pkgs/applications/window-managers/sway) 32* [NixOS](https://github.com/SirCmpwn/sway/wiki/Install-from-packages#nixos)
33* [openSUSE Tumbleweed](https://software.opensuse.org/package/sway) 33* [openSUSE Tumbleweed](https://github.com/SirCmpwn/sway/wiki/Install-from-packages#opensuse)
34 34
35For other distros, [see this wiki page](https://github.com/SirCmpwn/sway/wiki/Install-on-other-distros). 35For other distros, [see this wiki page](https://github.com/SirCmpwn/sway/wiki/Install-from-packages#unofficial-packages).
36If you're interested in packaging Sway for your distribution, stop by the IRC 36If you're interested in packaging Sway for your distribution, stop by the IRC
37channel or shoot an email to sir@cmpwn.com for advice. 37channel or shoot an email to sir@cmpwn.com for advice.
38 38
diff --git a/config b/config
index 6d3f1530..e127207b 100644
--- a/config
+++ b/config
@@ -3,9 +3,6 @@
3# Copy this to ~/.config/sway/config and edit it to your liking. 3# Copy this to ~/.config/sway/config and edit it to your liking.
4# 4#
5# Read `man 5 sway` for a complete reference. 5# Read `man 5 sway` for a complete reference.
6#
7# Sway is a work in progress. Some of these defaults are currently unimplemented.
8
9 6
10### Variables 7### Variables
11# 8#
diff --git a/sway/border.c b/sway/border.c
index 9bc25816..55628972 100644
--- a/sway/border.c
+++ b/sway/border.c
@@ -234,7 +234,7 @@ static char *generate_container_title(swayc_t *container) {
234 for (i = 0; i < container->children->length; ++i) { 234 for (i = 0; i < container->children->length; ++i) {
235 prev_name = name; 235 prev_name = name;
236 swayc_t* child = container->children->items[i]; 236 swayc_t* child = container->children->items[i];
237 const char *title = child->name; 237 const char *title = child->app_id;
238 if (child->type == C_CONTAINER) { 238 if (child->type == C_CONTAINER) {
239 title = generate_container_title(child); 239 title = generate_container_title(child);
240 } 240 }
diff --git a/swaybar/bar.c b/swaybar/bar.c
index 41538052..e3e53622 100644
--- a/swaybar/bar.c
+++ b/swaybar/bar.c
@@ -99,7 +99,7 @@ static void mouse_scroll_notify(struct window *window, enum scroll_direction dir
99 if (!swaybar.config->wrap_scroll) { 99 if (!swaybar.config->wrap_scroll) {
100 // Find output this window lives on 100 // Find output this window lives on
101 int i; 101 int i;
102 struct output *output; 102 struct output *output = NULL;
103 for (i = 0; i < swaybar.outputs->length; ++i) { 103 for (i = 0; i < swaybar.outputs->length; ++i) {
104 output = swaybar.outputs->items[i]; 104 output = swaybar.outputs->items[i];
105 if (output->window == window) { 105 if (output->window == window) {