Skip to content

Instantly share code, notes, and snippets.

Dunroamin, Duncarin, Dunlivin.

cirrus cirrusUK

Dunroamin, Duncarin, Dunlivin.
View GitHub Profile
View pmsyt
#!/usr/bin/env python
Copyright (C) 2014 nagev
This program is free software: you can redistribute it and/or modify
cirrusUK / config
Last active Aug 29, 2015
View config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
# Should you change your keyboard layout somewhen, delete
# this file and re-run i3-config-wizard(1).
# i3 config file (v4)
# Please see for a complete reference!
cirrusUK / .gntrc
Created Mar 6, 2014
file which determines colours used in finch ~/.gntrc
View .gntrc
color-available = yellow; default
color-away = green; default
color-idle = green; default
color-offline = darkgray; default
color-message-sent = green; default
color-message-received = green; default
color-message-highlight = red; default
color-message-action = green; default
color-timestamp = blue; default
cirrusUK / termite config
Created Mar 6, 2014
config file for termite ~/.config/termite/config
View termite config
resize_grip = false
geometry = 1920x1040
scroll_on_output = true
scroll_on_keystroke = true
audible_bell = true
visible_bell = true
mouse_autohide = true
dynamic_title = true
urgent_on_bell = true
cirrusUK /
Created Mar 11, 2014
shell script to show terminal colours
#! /bin/sh
printf "\033[0m
cirrusUK / .conkybar
Created Apr 22, 2014
.conkybar : vertical conky panel
View .conkybar
background yes
use_xft yes
#xftfont DejaVu Sans Mono:size=8
xftfont envy code r:size=10
xftalpha 0.6
out_to_console no
update_interval 1.5
total_run_times 0
draw_shades no
override_utf8_locale yes
cirrusUK / livestreamer-alias
Created Apr 25, 2014
zsh aliases for livestreamer
View livestreamer-alias
##Video Streams
alias las="mpv"
alias fam="livestreamer -p mpv best"
alias crime="livestreamer -p mpv source"
alias skynews="mplayer mms://"
alias sport="mplayer rtmp://"
alias sport1="mplayer mms://"
alias eurosport="mplayer"
alias animal="mplayer rtmp://"
alias first48="livestreamer -p mpv best"
cirrusUK /
Created May 15, 2014
simple shell script using notify-send for mounting HDD
notify-send -i ~/.icons/win.png "Mounting Drive" " Windows 7 HDD Online " && sudo mount /dev/sda2 /mnt/sda2
mpg123 ~/sonar.mp3
cirrusUK /
Last active Aug 29, 2015
best and most stable method ive found for mounting android devices is the 'simple-mtpfs' package
notify-send -i ~/.icons/s4.png "Mounting Android Device" " Samsung Galaxy S4 Mounted " && simple-mtpfs /media/s4
mpg123 ~/sonar.mp3
#AccuWeather (r) RSS weather tool for conky
#(c) Michael Seiler 2007
METRIC=1 #Should be 0 or 1; 0 for F, 1 for C
if [ -z $1 ]; then