Skip to content

Instantly share code, notes, and snippets.

View mothdotmonster's full-sized avatar
🏳️‍🌈
i'm gay

Chesapeake mothdotmonster

🏳️‍🌈
i'm gay
View GitHub Profile
@mothdotmonster
mothdotmonster / boldhalfword.sh
Created May 21, 2022 04:56
bold half of every word in the input
#!/bin/bash
while [ "$1" != "" ]; do
printf "\033[1m%s\033[m%s " "${1:0:$(( ${#1} / 2 ))}" "${1:$(( ${#1} / 2 ))}"
shift 1
done
printf "\n"
@mothdotmonster
mothdotmonster / i3configs.md
Last active April 1, 2022 11:39
i3 configs i use

These are a few configuration tweaks I use with the i3 window manager.

Reqired extra programs: i3blocks scrot i3lock xautolock feh

Colors

bar {
	status_command i3blocks
		colors {
			background	#140b05
@mothdotmonster
mothdotmonster / gallery.css
Created December 20, 2021 23:28
a basic image gallery

Keybase proof

I hereby claim:

  • I am mothdotmonster on github.
  • I am mothdotmonster (https://keybase.io/mothdotmonster) on keybase.
  • I have a public key ASBW-1vzYmIY49_8USKu7M1d402cGwA9gwIot05kuFMhOAo

To claim this, I am signing this object:

@mothdotmonster
mothdotmonster / codebox.html
Last active December 12, 2021 20:49
very basic code html+css code box
<body>
<div class="codeheader">code box demo</div>
<div class="codebox">
<pre><code>
code goes here
</code></pre>
</div>
</body>
-- just a conky config. probably won't work on your machine without tweaks, but feel free to use for whatever.
conky.config = {
alignment = 'top_right',
border_width = 1,
cpu_avg_samples = 1,
default_color = 'white',
default_outline_color = 'white',
double_buffer = true,
draw_borders = false,