1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2025-02-24 09:05:08 +01:00
Commit graph

7 commits

Author SHA1 Message Date
Pierre Labadens
abc9d96d19
waybar: fix slow service stop ()
Set the systemd user service to use "mixed" killmode, which lets waybar
stop its module scripts. This fixes issues where waybar blocks shutdown
until systemd sends a SIGKILL to waybar child processes.
2021-03-06 02:09:51 -05:00
Nicolas Berbiche
f4b5ae026c
waybar: fix css identifier check ()
Fixes 
2020-12-30 18:17:39 -05:00
Nicolas Berbiche
99f0074362
waybar: allow CSS class when using a default module
Fixes 
2020-12-28 20:43:40 -05:00
Blaž Hrastnik
0654364426
waybar: fix systemd service
The current definition makes waybar wait for dbus.service, but that
never happens because dbus.service is started on demand by
dbus.socket.

Per systemd docs:
  https://www.freedesktop.org/software/systemd/man/systemd.service.html#Implicit%20Dependencies

- Services with Type=dbus set automatically acquire dependencies of
  type Requires= and After= on dbus.socket.

- Socket activated services are automatically ordered after their
  activating .socket units via an automatic After= dependency.
  Services also pull in all .socket units listed in Sockets= via
  automatic Wants= and After= dependencies.

Removing Requisite/After makes the service properly start for me,
simply specifying Type=dbus is enough.

See 
2020-12-01 23:07:39 +01:00
Nicolas Berbiche
964f698095
waybar: fix null modules-{left,center,right} error
- Change the `attrsOf unspecified` to `pkgs.formats.json`
- Add missing default modules
- Expand the `with lib` with every function used
- Add inline documentation about the generated warnings
2020-11-16 22:56:54 +01:00
Nicolas Berbiche
0778a80ee0
waybar: use Nixpkgs maintainers entry
I recently had my first package added to Nixpkgs and am now in the
official list of maintainers so this information is no longer required
here.
2020-10-22 22:57:58 +02:00
Nicolas Berbiche
f4f9f1a618
waybar: add module
PR 
2020-08-14 00:20:49 +02:00