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 | |
# Drop all your images in a folder, let's call it /tmp/wallpapers then run this | |
# Take all your files from the output folder and put them somewhere in your | |
# home folder (like ~/Pictures/Wallpapers) | |
RES=$( xrandr | grep primary | awk '{ print $4 }' | cut -d '+' -f 1 ) | |
mkdir output 2>/dev/null | |
for a in *.{png,jpg,tga}; do | |
for b in *.{png,jpg,tga}; do |
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 rpm | |
import yum | |
from operator import itemgetter | |
def colorize(str, col): | |
return "\x1b[%d;1m%s\x1b[0m" % (col, str) |
OlderNewer