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/bash | |
# i3lock blurred screen inspired by /u/patopop007 and the blog post | |
# http://plankenau.com/blog/post-10/gaussianlock | |
# Timings are on an Intel i7-2630QM @ 2.00GHz | |
# Dependencies: | |
# imagemagick | |
# i3lock |
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
#include<stdio.h> | |
#include<stdlib.h> | |
#include<string.h> | |
/*print a character bar for output to a status bar like dwm*/ | |
/*usage charbar X, with x between 1 and 100*/ | |
int main(int argc, char *argv[]) | |
{ | |
/*check the args*/ |
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
<child> | |
<object class="GtkCellRendererText" id="cellrenderertext4"/> | |
<attributes> | |
<attribute name="text">0</attribute> | |
</attributes> | |
</child> |
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
#pango markup | |
echo "<txt><span foreground=\"#667899\">Test</span></txt>" |
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 | |
from subprocess import Popen,PIPE | |
import random | |
colors = ("\033[31m", "\033[32m", "\033[33m", "\033[34m", "\033[35m", | |
"\033[36m" ) | |
reset = "\033[0m" | |
if __name__ == '__main__': |