diff --git a/atom.xml b/atom.xml index eda0d53..9d86801 100644 --- a/atom.xml +++ b/atom.xml @@ -4,8 +4,51 @@ Zola - 2024-07-29T14:18:00+00:00 + 2024-08-18T16:08:00+00:00 https://paulwilde.uk/atom.xml + + Norg Backup Utility + 2024-08-18T16:08:00+00:00 + 2024-08-18T16:08:00+00:00 + + + + + Unknown + + + + + + https://paulwilde.uk/ponderings/norg/ + + <h1 id="norg">Norg</h1> +<p>A simple, portable, wrapper for the <a href="https://www.borgbackup.org">borg backup utility</a> written in Nim</p> + + + + + BatMon + 2024-07-29T21:16:00+00:00 + 2024-07-29T21:16:00+00:00 + + + + + Unknown + + + + + + https://paulwilde.uk/ponderings/batmon/ + + <p>A simple battery monitor tool that can notify you on battery status changes for FreeBSD.<br /> +Inspired by but in no way similar to <a href="https://github.com/electrickite/batsignal">batsignal</a> - inspiring the basic function only. +Written in pure <a href="https://paulwilde.uk/ponderings/batmon/https/nim-lang.org">Nim</a>.</p> + + + TootInstall 2024-07-29T14:18:00+00:00 diff --git a/ponderings/batmon/index.html b/ponderings/batmon/index.html new file mode 100644 index 0000000..c0cfa28 --- /dev/null +++ b/ponderings/batmon/index.html @@ -0,0 +1,225 @@ + + + + + BatMon | Paul's Site of Stuff + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + +
+ + +
+ +

BatMon

+ + + + + + + + + + + + + + + + + + + + + + +
+

A simple battery monitor tool that can notify you on battery status changes for FreeBSD.
+Inspired by but in no way similar to batsignal - inspiring the basic function only. +Written in pure Nim.

+

Requirements

+

Run Requirements

+
    +
  • apm
  • +
  • notify-send
  • +
+

Build Requirements

+
    +
  • nim
  • +
  • nimble
  • +
+

Installation

+

To install into your .nimble/bin directory

+
git clone https://codeberg.org/pswilde/batmon && cd batmon
+nimble install
+
+

Running

+
# To run the daemon server notifier, just run:
+batmon -d
+
+# To run once and just show battery level, run:
+batmon -o
+
+

Using

+

When importing Batmon as a module you have access to the get_battery_status() +procedure which will return a Battery object you can use elsewhere.

+

Battery Type

+
type 
+  Battery* = object
+    status*: Status
+    charge*: float
+  Status* = enum
+    High,
+    Low,
+    Critical,
+    Charging,
+    Unknown
+
+

Also, you have access to the notification handler module, where you can build +and send your own notifications:

+
var n = newNotification("Title", "Body", urgency = Normal , timeout = 5000)
+discard n.send()
+
+ +
+ + + + +
+ + + + + +
+ + + diff --git a/ponderings/index.html b/ponderings/index.html index d8a17ca..7bb736a 100644 --- a/ponderings/index.html +++ b/ponderings/index.html @@ -81,6 +81,87 @@
+

Norg Backup Utility

+ + + + + + + + +
+

Norg

+

A simple, portable, wrapper for the borg backup utility written in Nim

+ +
+
+ + + Read more  + ↩︎ + +
+ + +
+ +
+ +

BatMon

+ + + + + + + + +
+

A simple battery monitor tool that can notify you on battery status changes for FreeBSD.
+Inspired by but in no way similar to batsignal - inspiring the basic function only. +Written in pure Nim.

+ +
+
+ + + Read more  + ↩︎ + +
+ + +
+ +
+

TootInstall

-
- -
- -

wm_tools

- - - - - - - - -
-

A selection of information output tools for dmenu

-

These are a selection of independant tools for displaying various information -about system status in dmenu. Some of them i.e. volume have options (up, down, mute...) -which are selectable options in dmenu.

- -
-
- - - Read more  - ↩︎ - -
- - -
- -
- -

thisisnotmy.email

- - - - - - - - -
-

I run the thisisnotmy.email email service.

-

What's it all about?

-

Don’t you hate it when people, businesses, random telephone callers, etc. ask you for your email address out of the blue under the ruse of “providing you a better service”? -It's early days but I'm hoping to be able to offer something for people to -use eventually.

- -
-
- - - Read more  - ↩︎ - -
- -