Commit Graph

163 Commits

Author SHA1 Message Date
7f7ebb5367 fix(workspaces): add int comparison 2019-10-19 16:19:35 +01:00
36fc8365ee Merge pull request #446 from bschacht/fix-typo-persistant
Fix typo: persistant -> persistent
2019-08-31 21:13:31 +02:00
2646390e28 Fix typo: persistant -> persistent 2019-08-31 19:57:44 +02:00
66f2cbed51 Fix typo
ouput -> output
2019-08-31 17:50:56 +00:00
e38df047fd sway/mode: enable pango markup on supported modes
IPC reports {"mode": "mode_string", "pango_markup": bool}.
Use this to conditionally enable pango markup.
2019-08-28 19:48:33 -05:00
a6c0bc5a52 Fix deadlock on workspace scrolling
Make the mutex guard lifecycle finish before the send ipc command
by adding scope around the code.

Fixes #395 .
2019-07-05 20:47:44 -07:00
a6980fca7f feat: ellipsize modules 2019-06-28 14:16:09 +02:00
bd5146fdcf fix(Label): ELLIPSIZE all label modules 2019-06-28 13:49:04 +02:00
ff9d598c16 fix: add proper mutex 2019-06-17 11:39:45 +02:00
340ec7be91 refactor: AModule 2019-06-15 14:57:52 +02:00
dabe2bebbb feat(sway/window): handle floating nodes 2019-06-14 11:27:40 +02:00
486b5a5d38 fix(sway/window): check output recursively 2019-06-14 10:57:22 +02:00
11bbc3b24d Fix twitchy scrolling on touchpads (#381)
Fix twitchy scrolling on touchpads
2019-06-14 10:38:25 +02:00
028b184f7b fix(workspaces): persistant class with empty outputs 2019-06-12 09:50:33 +02:00
396f7d4525 Workspaces: implement horizontal continuous scrolling 2019-06-11 18:44:54 +02:00
3c9b533997 fix(window): avoid hexpand 2019-06-11 17:57:17 +02:00
ed4521d113 Workspaces: fix twitchy scrolling on touchpads
Previously, any and all scroll events were interpreted as reason to switch
workspaces. This resulted in twitchy behaviour, where the scrolling was
practically unusable.

Now, we pool all scroll values, and only scroll if the value is larger than the
new config option "smooth-scrolling-threshold". If this option is not set, the
behaviour is unchanged.
2019-06-11 17:22:24 +02:00
c2e9ed6091 feat(workspaces): add class to persistant workspaces 2019-06-11 14:08:48 +02:00
a37b4687ff Revert "refactor(window): we don't need to subscribe workspace events"
This reverts commit 648eecdd83.
2019-06-11 14:06:31 +02:00
648eecdd83 refactor(window): we don't need to subscribe workspace events 2019-06-07 15:08:33 +02:00
1962caf144 refactor(window): gtk stuff in update method 2019-06-04 17:34:00 +02:00
9b89fc6470 refactor: disable bar scroll by default 2019-05-28 16:11:33 +02:00
d24d85bebf refactor: move label name and id to label contructor 2019-05-22 12:06:24 +02:00
12a251c3a4 fix(mode): escape text 2019-05-20 20:51:19 +02:00
4accdd4524 fix(Workspace): ordering 2019-05-20 20:46:59 +02:00
e3879559a2 Merge pull request #330 from Organic-Code/master
Adding sway/workspaces:persistant_workspaces
2019-05-20 14:33:31 +02:00
0ec8774a08 Fixing: missing argument for fmt, workspace order
Persistant workspaces would reorder upon their first creation
2019-05-20 08:23:42 -04:00
071b4928dc fix(workspaces): order 2019-05-20 13:31:02 +02:00
7c4d75d428 feat: create new workspace on the wanted output 2019-05-20 13:21:22 +02:00
51be97f9aa Adding spdlog 2019-05-18 19:44:45 -04:00
a00f812cd1 Typo 2019-05-18 18:21:01 -04:00
863e0babd8 Adding break when sorted_workspaces is filled 2019-05-18 12:09:30 -04:00
8ba3052dd1 Adding comments & fixing code style 2019-05-18 12:04:09 -04:00
1a76aa0c8c Improving ordering 2019-05-18 11:58:01 -04:00
85f177a213 Adding sway/workspaces:persistant_workspaces in config file
c.f. https://github.com/Alexays/Waybar/issues/210
2019-05-18 10:58:55 -04:00
3e1c77d158 Add option to disable scroll wraparound on workspaces 2019-05-18 12:15:35 +01:00
43d724ebad Merge pull request #326 from RX14/rename-bar-scroll
Rename the "disable-workspace-scroll" option to "disable-bar-scroll"
2019-05-17 20:24:15 +02:00
0d59f7b7d1 Rename the "disable-workspace-scroll" option to "disable-bar-scroll" 2019-05-17 17:42:11 +01:00
1e95f5d9b6 Fix workspace scroll wrapping off the end of the list 2019-05-17 17:37:24 +01:00
4d4cadb5ae refactor: simpler code 2019-05-17 09:59:37 +02:00
362c393b1d refactor: try/catch, sigc trackable 2019-05-13 15:15:50 +02:00
0c3c548bc0 fix(Window): avoid concurrency 2019-05-13 14:35:45 +02:00
62f8af8a39 fix(Window): avoid multiple same classes 2019-05-13 10:56:48 +02:00
7cdde05568 remove empty and solo classes when they do not apply 2019-05-11 20:36:10 +02:00
5bf0ca85ac refactor: try/catch around json parse 2019-05-09 10:30:54 +02:00
5a44c8c6de refactor: avoid unneeded json parsing 2019-05-07 13:43:48 +02:00
74137befba fix(window): title flickers 2019-05-07 13:31:41 +02:00
b75e0bb0d0 refactor: remove useless bar param 2019-05-07 13:21:18 +02:00
d027243a19 fix: json thread safe 2019-05-02 14:24:54 +02:00
717a07d584 refactor(Window): simpler conditions 2019-04-26 15:29:54 +02:00