Skip to content

Instantly share code, notes, and snippets.

View cirrusUK's full-sized avatar
💭
Dunroamin, Duncarin, Dunlivin.

cirrus cirrusUK

💭
Dunroamin, Duncarin, Dunlivin.
View GitHub Profile
@cirrusUK
cirrusUK / notify.py
Created October 29, 2014 11:56
notify for dunst i3blocks
#! /usr/bin/env python3
'''
This program is designed to work in tandem with dunst and i3blocks to extend
the functionality of the existing i3blocks notification blocklet and allow
multiple notifications of different priority levels to stack and be displayed.
Copyright (C) 2014 Tomasz Kramkowski
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
APPNAME="notify-send"
SUMMARY="fedorausers"
BODY="#linux #fedora Re: Font issues in F21 http://t.co/ILRkmD1QHA"
ICON="info"
URGENCY="NORMAL"
##changes as notifiactions change, i use this file to grep and pipe notifications to conky/dzen in openbox
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Tickr Feed List</title>
</head>
<body>
<outline title="Rangers FC News and Chat" type="rss" xmlUrl="http://dothebouncy.com/main/forums/rangers-fc-news-and-chat.7/index.rss" tickrFeedRank=" "/>
<outline title="Armed and Dangerous" type="rss" xmlUrl="http://esr.ibiblio.org/?feed%3Drss" tickrFeedRank=" "/>
<outline title="BBC News - Home" type="rss" xmlUrl="http://feeds.bbci.co.uk/news/rss.xml?edition%3Dint" tickrFeedRank=" "/>
<outline title="BBC Sport - Sport" type="rss" xmlUrl="http://feeds.bbci.co.uk/sport/0/rss.xml?edition%3Dint" tickrFeedRank=" "/>
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
setxkbmap gb
BROWSER=firefox
EDITOR=nano
if [ -d /etc/X11/xinit/xinitrc.d ]; then
@cirrusUK
cirrusUK / config
Last active August 29, 2015 14:08
i3 config 2x 1920x1080 VDU
# 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 some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
[global]
font = Envy Code R 10
# allow a small subset of html markup:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough<s/>
# <u>underline</u>
#
# for a complete reference see http://developer.gnome.org/pango/stable/PangoMarkupFormat.html
@cirrusUK
cirrusUK / conkyrc
Last active August 29, 2015 14:08
i3conky panel
out_to_x no
own_window no
out_to_console yes
background no
max_text_width 10920
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
@cirrusUK
cirrusUK / i3blocks.conf
Created November 7, 2014 16:46
i3blocks.conf
separator_block_width=15
#[volume]
#command=/usr/libexec/i3blocks/volume
#signal=10
#[xmms2]
#command=exec xmms2 current
#color=#00FF00
#separator=false
#!/bin/bash
FREQUENCY=0.5
while true;
do
echo $[ RANDOM % 100 ];
sleep $FREQUENCY;
done | stag --title "Random Data Over Time" "$@"
[global]
font = Envy Code R 10
# allow a small subset of html markup:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough<s/>
# <u>underline</u>
#
# for a complete reference see http://developer.gnome.org/pango/stable/PangoMarkupFormat.html