sshbio

u/sshbio




r/KeybaseProofs•

Keybase proof

I hereby claim:

  • I am sshbio on reddit.
  • I am sshbio on keybase.
  • I have a public key whose fingerprint is 5BFA 6EAC EE51 5C0F 6968 649C 9D11 AC6D CAE2 5443

To claim this, I am signing this object:

{
    "body": {
        "key": {
            "eldest_kid": "010104080813b4ee682d7d3e083e9b65a3cf9a212826f9b1260f2867b6b1536604210a",
            "fingerprint": "5bfa6eacee515c0f6968649c9d11ac6dcae25443",
            "host": "keybase.io",
            "key_id": "9d11ac6dcae25443",
            "kid": "010104080813b4ee682d7d3e083e9b65a3cf9a212826f9b1260f2867b6b1536604210a
10

r/unixporn•

Thank Xero for this: Script to display status on a single line, for use in any bar (dvtm/tmux/bar/any wm bar/terminal...).

Link that may not ever be dead: https://raw.githubusercontent.com/sshbio/dot/cf6a6caa87ff6301c9f1dc63958bbca7ca6662fa/bin/status

Link that may be dead some day, but most up to date: https://raw.githubusercontent.com/sshbio/dot/master/bin/status

Xero made the git.io/sysinfo script that I modified to be used in a single line. As he said, it originally comes from u/z-brah's mkbar script, that he re-wrote in C.

I use it to have the same status bar everywhere.

symply call status to get a statusbar like this:

 49°C ████████░
4219


r/suckless•

irc.sh - The scirpt. It may evolve with more sed regexes and channels.

I made a small (~40 SLOC, 100 with comments and spacing) sh script using tail -f | sed to format the output.

It is used for starting the servers and opening vim: irc Then in the ~/irc directory, it is used to get the output feed:

cd ~/irc
irc irc.oftc.org/

or

irc irc.oftc.org/#suckless

Path must be relative to the ~/irc dir and will append /out at the end.

It will also set the window name to the channel name (irc.freenode.net/#suckless).

Screenshot with dvtm.

I am still learning shell scripting,

50


You've reached the end of this feed.