Skip to content

Instantly share code, notes, and snippets.

View Apeiros-46B's full-sized avatar

Apeiros Apeiros-46B

  • /dev/urandom
  • 21:15 (UTC -07:00)
View GitHub Profile
@Apeiros-46B
Apeiros-46B / ne
Last active December 22, 2022 16:49
norg export
#!/bin/sh
# {{{ reused colors/formatting
b="$(tput bold)"
sgr0="$(tput sgr0)"
f1="$(tput setaf 1)"
f6b="${b}$(tput setaf 6)"
# }}}
@Apeiros-46B
Apeiros-46B / singfetch.sh
Last active September 19, 2021 21:46
Fetch utility. "sing" and the code for color printing are from https://github.com/Manas140/sh, and wmctrl is needed for detecting the window manager.
#!/bin/bash
c1="\033[1;30m"
c2="\033[1;31m"
c3="\033[1;32m"
c4="\033[1;33m"
c5="\033[1;34m"
c6="\033[1;35m"
c7="\033[1;36m"
c8="\033[1;37m"