This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; mintyleaf polybar config | |
[colors] | |
background = #383838 | |
background-alt = #444 | |
foreground = #dfdfdf | |
foreground-alt = #555 | |
primary = #999999 | |
secondary = #999999 | |
alert = #ff9999 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import platform, subprocess, re | |
subprocess.run('clear') | |
uname = platform.uname() | |
xid = subprocess.getoutput('xprop -root -notype _NET_SUPPORTING_WM_CHECK') | |
xid=xid[-8:] | |
BOLD = '\033[1m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# based on github.com/gokcehan/lf/wiki/Previews | |
# thanks to dylanaraps for bash bible | |
# a margin in pixels needed to prevent image from overlapping top title | |
SAFE_MARGIN=56 | |
# a threshhold for upscaling images, like pixelart or so | |
NOFILTER_THRESH=256 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
mon() { | |
for i in $(lsd); do | |
echo $(dattr x $i)\;$i | |
done | |
} | |
CMON=$(pfd || eDP1) | |
MONS=$(mon | sort) |