Benedikt M. Rips
f2f1076c1f
treewide: remove no-ops ( #8061 )
2025-10-26 15:43:53 -05:00
TaskForceTorture
88e62bcab2
swayidle: make sure it's actually installed when enabled
2025-10-09 20:53:47 -05:00
Tom Hubrecht
8eb2f2a26a
treewide: Remove unwanted dependencies ( #7487 )
...
Fixes interpolation of packages in the default and example texts.
2025-07-17 14:12:50 -05:00
Austin Horstman
86402a17b6
treewide: flatten single file modules
...
Some files don't need nesting and can be root level again to reduce
conflicts with other PRs.
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-23 16:20:26 -05:00
Austin Horstman
4fca600cb1
treewide: implement auto importing for modules
...
Reduce maintenance burden and increase efficiency by automatically
importing modules following a specific convention.
Co-authored-by: awwpotato <awwpotato@voidq.com>
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-06-22 23:58:37 -05:00
Austin Horstman
82ee14ff60
treewide: remove with lib ( #6871 )
...
Remove from services.
2025-04-21 11:00:59 -05:00
Austin Horstman
cba2f9ce95
treewide: reformat nixfmt-rfc-style
...
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00
Austin Horstman
f1d4acaa10
treewide: use mkPackageOption ( #6727 )
2025-03-29 11:48:55 -05:00
Thiago Kenji Okada
89fe48b1c1
swayidle: use config.wayland.systemd.target
...
Also add `Unit.After`.
2025-01-03 17:37:16 +01:00
Robert Helgesson
0b052dd811
swayidle: minor cleanups
2024-09-20 11:45:46 +02:00
leoTlr
4803bf558b
swayidle: make -w optional
...
The option -w causes swayidle to wait on timeouts/events to finish.
This can cause problems with certain timout/event commands (see
https://github.com/swaywm/swaylock/issues/86#issuecomment-662702180 )
2024-09-20 11:13:54 +02:00
Matthieu Coudron
9b53a10f4c
swayidle: wait for WAYLAND_DISPLAY
...
To avoid this kind of message:
swayidle[181123]: - [Line 1054] Unable to connect to the compositor. If your compositor is running, check or set the WAYLAND_DISPLAY environment variable.
2024-06-02 10:16:22 +02:00
Yuchen Guo
4a8545f5e7
swayidle: add systemd suspend to example
2023-12-01 13:17:50 +01:00
Yuchen Guo
9e869829c2
swayidle: daemonize swaylock in example configuration
2023-12-01 13:17:43 +01:00
9p4
50e582b9f9
swayidle: always restart systemd unit on failure
...
Occasionally, swayidle crashes with a failure to connect to the
Wayland session. Ideally, swayidle should automatically restart
instead of leaving the system in a vulnerable state.
2023-11-12 01:13:38 +01:00
tristan
8e5416b478
services.swayidle: change target to generic session ( #3913 )
...
this makes the default setup support other window-managers, and is the
trend followed by waybar, clipman, copyq, wlsunset.
2023-10-30 13:55:11 +01:00
midchildan
17dc593930
modules: add platform assertions
2023-02-07 21:54:24 +01:00
Mario Rodas
b5c083300b
treewide: fix typos
2022-12-05 12:58:02 +01:00
wuyoli
6427ae9578
swayidle: fix examples
...
The example did not work before, since the systemd service does not
have swaylock in its PATH.
PR #3298
2022-10-06 19:52:37 +02:00
Erik Rodriguez
583a99f016
swayidle: allow wayland targets other than sway-session.target ( #3202 )
...
Allow another Wayland targets, as river-session.target or
hyprland-session.target, to use swayidle.service which is hard-coded to
sway-session.target.
2022-09-05 10:56:10 -06:00
Joe Neeman
43ea4c5123
swayidle: fix systemd service
...
swayidle executes commands using "sh -c" and so its PATH must contain
a shell. This adds such PATH entry to the environment of the systemd
service.
Fixes #2811 .
2022-07-12 12:01:04 +02:00
arjan-s
ac722cddf4
swayidle: Fix position of extraArgs ( #2932 )
2022-05-03 11:20:46 -06:00
Robert Helgesson
5fb55d51e2
swayidle: fix option documentation
2022-01-06 09:22:42 +01:00
Jos van Bakel
65e5b835a9
swayidle: add module ( #2610 )
...
Swayidle is an idle management daemon for Wayland. This modules adds support for
running swayidle as a SystemD user unit and makes it configurable through
home-manager.
2022-01-03 12:03:20 -07:00