Commit Graph

14 Commits

Author SHA1 Message Date
01b247d7fa Nix Fix 2025-04-10 10:42:17 +03:00
Narvin Singh
8d02ac14c9 Merge: feat-request-all 2021-10-25 22:53:41 -04:00
Narvin Singh
d19eaeb6e9 Refactor: DRY 2021-10-25 22:43:46 -04:00
Narvin Singh
b19495a93c Fix: Treat date +%S as decimal instead of octal
The number of seconds elapsed in the current minute given by date
is a 2-digit number. That means seconds 0 to 9 have a leading 0,
which causes them to be interpreted as octal numbers. This is not
intended, but doesn't actually break things (because 00 to 07 octal
are equivalent to 0 to 7 decimal) until second 8 or 9, at which point
we get an error because 08 and 09 are invalid octal numbers.
2021-02-16 14:10:37 -05:00
Narvin Singh
6c8cf878f7 Chore: Fix formatting 2021-01-18 14:15:21 -05:00
Narvin Singh
fdeb1696d0 Refactor: Use rpid will all default parameters 2021-01-04 14:55:45 -05:00
Narvin Singh
2ee11a5eac Feat: Send request to all daemons
Write the requests to all named pipes if the mod list begins with
'>>* '. This feature will probably not be merged into the main branch
because we have to search for the fifo files before each send, and if
the daemon for this login session exits, the scheduler will continue
running, which may not be desirable.
2021-01-03 01:10:16 -05:00
Narvin Singh
1ad7087552 Feat: Process all requestd modules before drawing 2021-01-02 12:23:25 -05:00
Narvin Singh
8669361595 Fix: Unique fifo per session
Use rpid in the daemon and the scheduler to append the PID of their
common login process to the named pipe so daemons and schedulers in
other sessions won't conflict with one another.
2021-01-02 00:03:01 -05:00
Narvin Singh
3b675b0da0 Feat: Help options 2021-01-01 23:56:13 -05:00
Narvin Singh
d5c02f8459 Feat: Use named pipe instead of signals and sleep
This is a breaking change and will lead to a new major version.
2021-01-01 14:08:29 -05:00
Narvin Singh
4ddf06147d Fix: Failure to find daemon after PID changes
It looks like if the daemon is started in the .xinitrc, its PID
can change once the X session is fully started. This will cause
long-running schedulers that were started along with the daemon
to not find it and exit soon after the session is started. So have
the schedulers check for the newest daemon instance each time they
are about to send it a signal. This is probably more efficient than
before when we were getting the PID once when the scheduler starts,
because the scheduler would validate that the PID still referred to
a daemon each time it sent a signal. Getting the PID replaces that
validation check, and may actually be faster.
2020-12-31 18:41:29 -05:00
Narvin Singh
e5578dfb14 Fix: Uncommented line to sleep by day 2020-12-31 16:51:27 -05:00
Narvin Singh
994cbf659f Feat: Rename the application to akuma-v-dwm 2020-12-30 01:05:06 -05:00