2022-07-17 00:07:51 +02:00
# A selection of information output tools for dmenu
These are a selection of independant tools for displaying various information
2022-07-17 20:30:46 +02:00
about system status in dmenu. Some of them i.e. `volurrme` have options (up, down, mute...)
2022-07-17 00:07:51 +02:00
which are selectable options in dmenu.
## Tools
2022-07-20 10:18:57 +02:00
- `pingclurrk` performs a single `ping` to a server and returns the response time
- `batturry` shows the current battery level
- `brightnurrs` shows the current backlight level and gives options to adjust it
2022-07-17 20:14:54 +02:00
- `volurrme` shows the current volume level and gives options to adjust and manage it
2022-07-20 10:18:57 +02:00
- `calendurr` shows the date
- `furrytime` shows the fuzzytime clock
- `wirelurrs` shows the state of the wireless network interface. SSID connected to and signal level.
- `netwurrk` shows the status and/or the ip address of the network interface card
- `temperaturr` shows the current CPU temperature
2022-07-17 20:14:54 +02:00
- `noteurr` a simple one liner note taking tool, displaying notes in `dmenu` /`rofi`
- `calculaturr` a calculator, utilising `qalculate` - inspired by [@fedops ](https://codeberg.org/fedops/scripts )
- `emurrji` an emoji picker
2022-07-20 10:18:57 +02:00
- `remmina_choosurr` reads the files in your remmina config directory and allows you to connect to and edit them
2022-07-17 20:14:54 +02:00
- `translaturr` utilises libretranslate (you'll need and API key or your own instance) to translate test. Prefix the text with `en>de` , `de>en` , `en>fr` , etc. as you need. Must be compiled with `-d:ssl`
- `clipurr` clipboard manager
2022-07-20 10:18:57 +02:00
- `passwuurd` a passmenu clone, that works in rofi too
- `cmd_wrappurr` a basic tool to run other `dmenu` related tools with uniform styling.
2022-07-17 00:07:51 +02:00
- For example: `dmenu_run` , `clipmenu` , `passmenu` etc.
2022-07-17 20:29:47 +02:00
### Why do all the tools have "urr" in them?
This is something I was inspired to do after writing `clipurr` … "purr", like a cat... see?
So I thought I'd rename everything else to conform to this amazing naming convention… cool eh‽
2022-07-17 00:07:51 +02:00
## How to compile
There are some configuration variables explicit to me, you'll need to change them for you for them to be useful I imagine.
2022-07-20 10:29:58 +02:00
Configuration variables are compile - there are no config files or runtime parameters
2022-07-17 00:07:51 +02:00
Each tool is compiled separately, for example:
2022-07-17 00:13:38 +02:00
```sh
nimble install
or
2022-07-17 20:14:54 +02:00
nim c pingclurrk
2022-07-17 00:07:51 +02:00
```
2022-07-17 00:13:38 +02:00
2022-07-17 00:07:51 +02:00
and then run with
```sh
2022-07-17 20:14:54 +02:00
./pingclurrk
2022-07-17 00:07:51 +02:00
or
2022-07-17 20:14:54 +02:00
./pingclurrk rofi
2022-07-17 00:07:51 +02:00
```
## How to use
2022-07-20 10:29:58 +02:00
Personally, I have these bound to key combinations in i3 and sway.
2022-07-17 00:07:51 +02:00
In fact, I have a seperate `bindsym` mode in which all these
tools are accessible i.e. `$mod+i` to get to "info" mode then `p` to show pingclock.
2022-07-20 10:29:58 +02:00
It's completely up to you how to run them, they're just simple CLI tools.
2022-07-17 00:07:51 +02:00
### You can also set the volume and brightness levels by typing a numeric figure into the dmenu/rofi input box
## Dependencies
- `dmenu` or `rofi`
- `yad` for calendar
- basically any tool that's used to gather the information.
- "tools" for audio etc. (`pamixer`, `ncpamixer` , etc.) can be set in the source
## Full disclosure
I'm aware my code is messy.
I'm aware my code is mostly undocumented.
But hopefully these things are simple enough to work out.
2022-11-10 10:21:21 +01:00
< a href = "https://notnull.click/users/paul" rel = "me" > Fediverse< / a >