aa4fc3dd29
Idle inhibitor toggle no longer update all modules - a list of idle inhibitors is maintained on the Client.
2020-10-31 17:30:25 +00:00
4872091442
Draft fix for syncing idle inhibitor across outputs. The idle_inhibitor surface has been moved to Client, all instances of idle inhibitor module now use one surface between them. Any time an idle inhibitor is clicked, currently it force updates ALL modules on all outputs, this needs work.
2020-10-31 16:31:27 +00:00
3663b9193d
refactor(bar): separate GTK event handlers for gtk-layer-shell
...
Cleanly separate resizing logic for gtk-layer-shell and manually managed
layer surface code.
2020-08-14 22:47:57 -07:00
6e7f22ac3a
fix: cancel thread and fix window close
2020-05-27 09:10:38 +02:00
dde700f2c9
feat: use gtk-layer-shell library for correct positioning of popups
...
To enable: use sway >= 1.2, compile waybar with `-Dgtk-layer-shell=enabled` meson option.
Original behavior could be restored at runtime by setting `"gtk-layer-shell": false` in waybar config.
2019-12-27 16:42:14 -08:00
d1637d34cf
refactor: fetch outputs from Gtk::Display instead of wl_registry.
...
gtk-layer-shell wants Gdk::Monitor instead of wl_output;
change code to deal with Gdk objects and slightly simplify it.
Requires gtkmm 3.22.0+ (first release with Gdk::Monitor support).
2019-12-27 16:42:12 -08:00
529daedcec
fix: correct handling of margins on anchored axis
2019-09-01 01:08:15 -07:00
089d1299c4
fix: correct calculation of exclusive zone
2019-09-01 01:08:07 -07:00
bb99e6cf5b
fix: check before destroy
2019-07-15 10:06:01 +02:00
340ec7be91
refactor: AModule
2019-06-15 14:57:52 +02:00
2a9fa1a4b9
refactor(bar): onRealize, onMap
2019-05-25 17:50:45 +02:00
51be97f9aa
Adding spdlog
2019-05-18 19:44:45 -04:00
4688002f23
feat: margins
2019-05-09 15:10:13 +02:00
79a5e9ecee
feat: multiple bar with same process
2019-04-25 13:25:06 +02:00
9504b7ac03
fix(Bar): typo
2019-04-24 12:42:16 +02:00
311c34ecbc
feat(Bar): handle widget size changes
2019-04-24 12:37:24 +02:00
171ecd53aa
refactor(Bar): roundtrip before setup widgets
2019-04-19 11:56:40 +02:00
6ed8f94dab
refactor: format code
2019-04-18 17:52:00 +02:00
807ef32357
refactor: format && better output management
2019-04-18 17:47:40 +02:00
47142a61ae
feat: allow waybar to be positioned on left/right
2019-03-22 12:25:05 +01:00
38fa7ceab1
add signalhandler for module update
2019-03-18 18:46:44 +01:00
d708ce2be9
Add idle inhibitor module
2019-02-22 16:55:46 +01:00
01cec9fcb7
fix(bar): multi screens
2019-02-04 22:09:01 +01:00
0ddcf26a45
feat: output configuration
2019-02-01 21:45:59 +01:00
399f61df98
refactor: proper modules destruction
2019-01-13 22:22:22 +01:00
29a2ee1744
refactor: Replace all occurencec of gtkmm.h and only use the necessary headers
2019-01-08 21:05:44 +01:00
691fb88057
refactor(modules): const bar
2018-12-01 00:10:41 +01:00
0b1b0eb1a7
feat(tray): multiple hosts
2018-11-22 16:20:49 +01:00
49232eed8d
Clean ( #31 )
2018-08-20 14:50:45 +02:00
6705134034
Handle screens disconnection ( #29 )
2018-08-19 13:39:57 +02:00
6635548d3e
Style code ( #25 )
2018-08-16 14:29:41 +02:00
8d5b61a9fd
refactor(bar): default width is 0
2018-08-11 10:25:21 +02:00
424ebb3c9b
feat(workspace): only show workspaces which are on same output as bar
2018-08-11 00:32:59 +02:00
c792871f6e
feat(bar): choose height from config file
2018-08-10 18:46:31 +02:00
23f48cb8b7
refactor: prefer static methods
2018-08-09 20:22:01 +02:00
39a0ae04a8
feat: basic config file
2018-08-09 12:05:48 +02:00
b987668f97
style: clean class
2018-08-09 10:50:16 +02:00
fcb6a9aa8b
feat: init repo
2018-08-08 23:54:58 +02:00