15 Commits

Author SHA1 Message Date
4aedc1e9cc Fix return type of gettemperature
I get this error when trying to build my NixOS system with the nixos-25.05 channel:

dwmstatus.c: In function 'gettemperature':
dwmstatus.c:182:24: error: returning 'char *' from a function with return type 'int' makes integer from pointer without a cast []
  182 |                 return smprintf("");
      |                        ^~~~~~~~~~~~
2025-06-08 14:40:37 +02:00
6c078d4717 Remove T,L,B 2024-04-21 15:40:25 +02:00
0a69e941d5 Add free memory 2024-04-21 09:38:43 +02:00
46f35713b6 Customize status bar 2024-04-21 09:38:43 +02:00
Christoph Lohmann
81cdc8f4a2 Close fd if there was an empty return.
* Not closing will use up all file descriptors over time.
2023-01-29 12:15:22 +01:00
Christoph Lohmann
a30f9f5bd1 Add dwmstatus-restart script as an example. 2022-12-28 19:09:24 +01:00
Christoph Lohmann
f2dea576d5 Add Surf status to dwmstatus. 2022-12-28 19:09:11 +01:00
Pepijn Krijnsen
e3109b8356 Fix execscript() function to retrieve kbmap
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2022-08-21 15:47:20 +02:00
Christoph Lohmann
8c2a152d8f Fix fgets. Thanks bob! 2022-08-18 17:05:48 +02:00
Christoph Lohmann
110faa443e Change refresh to 30 seconds. 2022-08-18 13:51:28 +02:00
Christoph Lohmann
19953a7de2 Add xkbmap handler. 2022-08-18 13:48:00 +02:00
Christoph Lohmann
51bc02f6ea Adapt LICENSE to 2018. 2018-07-17 15:50:15 +02:00
Christoph Lohmann
7bde3c5552 Adapt dwmstatus to 2018. 2018-07-17 15:49:45 +02:00
Christoph Lohmann
e0bea395b2 No object files in source repositories. 2017-09-10 19:29:17 +02:00
Christoph Lohmann
a175162278 Initial commit. 2017-09-10 19:28:54 +02:00