Commit Graph

596 Commits

Author SHA1 Message Date
Anas Elgarhy ff3350de5d
[fix] improve the dist task 2023-05-12 00:55:38 +03:00
Anas Elgarhy c205da71ea
[doc] Create the readme file 2023-05-12 00:32:08 +03:00
Anas Elgarhy 72823efc04
[vcs/deploy] Create the mirror actions 2023-05-12 00:09:44 +03:00
Anas Elgarhy 973dfbb489
[vcs] ignore the dist and the build dirs 2023-05-11 23:08:55 +03:00
Anas Elgarhy 9e923232ad
[clean] Remove the useless `config.h.def` 2023-05-11 23:06:17 +03:00
Anas Elgarhy 1be2bdcd37
[clean] Remove the useless `config.h.def` 2023-05-11 23:05:40 +03:00
Anas Elgarhy 1a45e1df64
[deploy] Setup the version 2023-05-11 23:03:46 +03:00
Anas Elgarhy e9fb460a58
Merge pull request #3 from archy-linux/change-binary-name
[update] Change the binary file name from `yo-slstatus` to `archy-sls…
2023-05-11 22:59:47 +03:00
Anas Elgarhy 0193593da9
[update] Change the binary file name from `yo-slstatus` to `archy-slstatus` 2023-05-11 22:58:06 +03:00
Anas Elgarhy 2663c05699
Merge pull request #2 from archy-linux/mergify/anas-elgarhy/config-update
ci(Mergify): configuration update
2023-05-11 12:55:29 +03:00
Anas Elgarhy 3e8cbd91e0 ci(Mergify): configuration update
Signed-off-by: Anas Elgarhy <anas.elgarhy.dev@gmail.com>
2023-05-11 12:53:03 +03:00
Anas Elgarhy 7c36f755a1
[fix] Fix the date format 2023-05-11 05:56:39 +03:00
Anas Elgarhy 52a95580ac
[improve/confg] Improve the bar format 2023-05-11 05:42:00 +03:00
Anas Elgarhy edbb5c34dc
[clean] Remove the outdated readme file 2023-05-11 05:14:14 +03:00
Anas Elgarhy e25bd7903e
[clean] Remove the stupid dependencies file 2023-05-11 05:13:14 +03:00
Anas Elgarhy d26c359a43
Merge pull request #1 from anas-elgarhy/change-binary-name
change binary name
2023-05-11 05:09:13 +03:00
Anas Elgarhy e91e02ab1f
[update] Change the binary file name from `slstatus` to `yo-slstatus` 2023-05-11 05:08:15 +03:00
Anas Elgarhy 96599ae0ac
[improve] Improve the project structure 2023-05-11 05:00:44 +03:00
Anas Elgarhy cd6df723ad
[update] Remove the stupid emojies 2023-05-05 18:52:07 +03:00
Anas Elgarhy 035bab3567 Add ram icon 📟 2022-07-24 09:59:01 +02:00
Anas Elgarhy a426f47068 Fix calender icon 🗓 2022-07-24 09:54:07 +02:00
Anas Elgarhy 6b80fba106 Improve 🥰 2022-07-24 09:44:27 +02:00
Anas Elgarhy 40af384b57 Removethe sprator | 2022-07-24 09:00:55 +02:00
Anas Elgarhy 2af6ccaf98 Add emojies 🥰 2022-05-27 11:32:05 +02:00
Anas Elgarhy a3fb878820 Add dependencies file 😇 2022-05-01 23:18:16 +02:00
Anas Elgarhy 64f50f9274 Fix 2022-04-26 02:27:01 +02:00
Anas Elgarhy d617ef4bdc Fix 2022-04-26 02:22:51 +02:00
Anas Elgarhy bdbd0f2722 Use the 12 format for the time 🕛 2022-04-26 02:19:35 +02:00
Anas Elgarhy 6c557515ad Remove garbage binary files 2022-04-24 08:12:19 +02:00
Anas Elgarhy 610878d7c6 Improve 2022-04-24 08:09:16 +02:00
Anas Elgarhy 7ae4effadd Add git ignore file 2022-04-24 08:08:26 +02:00
Anas Elgarhy 35ff6a2034 Add 2022-04-23 11:34:04 +02:00
Anas Elgarhy 7f92a08cd0 Add brit 2022-04-23 09:08:06 +02:00
Anas Elgarhy 67edad4539 fix 2022-04-23 07:58:08 +02:00
Anas Elgarhy 7be5731302 Add base configs 2022-04-23 07:56:03 +02:00
Aaron Marcher 84a2f117a3 Update README 2020-11-30 21:32:14 +01:00
Aaron Marcher ae8a658d0c Update LICENSE 2020-11-30 21:26:40 +01:00
Aaron Marcher dd5bfc3e51 Add comment for FreeBSD to config.mk
Apparently `-lkvm` is needed for swap on FreeBSD

Thanks to Micheal Buch and Jason Smith
(See thread https://lists.suckless.org/dev/1907/33594.html)
2020-11-30 21:24:34 +01:00
Ingo Feinerer 9ac721c23f Use the sioctl_open(3) OpenBSD API to access vol
Starting with OpenBSD 6.7 regular users cannot access raw audio devices
anymore, for improved security.

Instead use the sioctl_open(3) API to access and manipulate audio
controls exposed by sndiod(8). On the first call a permanent connection
is established with the running sndiod daemon, and call-back functions
are registered which are triggered when audio controls are changed
(e.g., a USB headset is attached) or when the volume is modified. On
subsequent calls we poll for changes; if there are no volume changes
this costs virtually nothing.

Joint work with Alexandre Ratchov
2020-11-30 21:24:33 +01:00
Daniel Moch aaf279f6dd Add a -1 option flag
Allow slstatus to be used by programs that can grab status by calling
an external program on a periodic basis (e.g. tmux)
2020-11-30 21:23:56 +01:00
Mart Lubbers d1b23e5509 Handle SIGUSR1 for forced refreshes
At some point one might want to force a refresh for example after
checking email or changing the volume. Sending a SIGUSR1 achieves this
now
2020-11-30 21:23:49 +01:00
dsp 3fc2872d1b Fix temperature reporting on OpenBSD
On OpenBSD although the formula is correct due to integer division a
temperature of for example 54 celsius appears as 5. this patch first
treats it as a floating point op before retaining the non decimal digits
2020-11-30 21:23:48 +01:00
Cem Keylan 3ac985eb03 Full battery indicator
When you reach full charge the symbol would change
to a question mark "?" as "Full" was not defined,
now it changes to an "o" instead.
2020-11-30 21:23:26 +01:00
Ryan Kes 2b0f50d1aa Add separator module 2020-11-30 21:15:13 +01:00
Ingo Feinerer b14e039639 Follow International System of Units spacing rules 2019-02-17 16:53:56 +01:00
Aaron Marcher 93daf4f35e Add OS-support notice to README 2019-02-16 17:05:04 +01:00
Michael Buch a1ac203d16 Add ram and swap components on FreeBSD 2019-02-16 16:58:34 +01:00
Ingo Feinerer 10bdf01b71 cpu_perc: Check for division by zero 2019-02-16 16:56:55 +01:00
Ingo Feinerer d518472e62 Fix CPU frequency on OpenBSD 2019-02-13 18:04:14 +01:00
Michael Buch a9193a757a close file descriptors and fix return values 2019-02-13 15:23:04 +01:00