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 / .tmux.conf
Last active May 11, 2017 01:16
~/.tmux.conf (tmux >= 2.1)
# Copyright 2012 Cirrus Minor. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification, are
# permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice, this list of
# conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright notice, this list
# of conditions and the following disclaimer in the documentation and/or other materials
# provided with the distribution.
@cirrusUK
cirrusUK / mirrors.sh
Last active December 28, 2015 10:29
Script to download from Archlinux Mirrorlist Generator, edit country='GB' to suit relevant country code.
#!/bin/bash
# Download pacman ranked mirror list
# Country codes: AU AT BY BE BR BG CA CL CN CO CZ DK EE FI FR DE GR HU IN IE IL
# IT JP KZ KR LV LU MK NL NC NZ NO PL PT RO RU RS SG SK ZA ES LK SE CH TW TR
# UA GB US UZ VN
country='GB'
url="https://www.archlinux.org/mirrorlist/?country=US&protocol=http&ip_version=4&use_mirror_status=on"
# Download
@cirrusUK
cirrusUK / i3status.conf
Last active December 28, 2015 11:29
Slightly modded i3status.conf laptop
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
@cirrusUK
cirrusUK / i3status.conf desktop
Last active December 28, 2015 13:19
# i3status configuration file. from Dual DVI Desktop
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
@cirrusUK
cirrusUK / config
Last active February 22, 2016 11:16
~/.i3/config dual DVI Desktop
# 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!
@cirrusUK
cirrusUK / conkybarrc
Last active December 28, 2015 17:29
conkyrc for i3bar
out_to_x no
own_window no
out_to_console yes
background no
max_text_width 0
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
@cirrusUK
cirrusUK / startup_conky
Created November 18, 2013 21:48
startup_conky for i3 bar
#!/bin/sh
# Send the header so that i3bar knows we want to use JSON:
echo '{"version":1}'
# Begin the endless array.
echo '['
# We send an empty first array of blocks to make the loop simpler:
echo '[],'
@cirrusUK
cirrusUK / .ncmpcpcpp config
Last active December 28, 2015 17:39
.ncmpcpcpp config
###################################################
## ~/.ncmpcpp/config of Cirrus_Minor ##
####################################################
#
##### connection settings #####
## set it in order to make tag editor and renaming files work properly
mpd_host = "127.0.0.1"
#mpd_host = "192.168.1.6"
mpd_port = "6600"
mpd_music_dir = "/mnt/INT2/music"
@cirrusUK
cirrusUK / .zshrc
Last active December 28, 2015 17:39
.zshrc
[[ $- = *i* ]] || return
[ -r /etc/profile.d/cnf.sh ] && . /etc/profile.d/cnf.sh
export BROWSER="${${DISPLAY+firefox}:-w3m}"
export ABSROOT="$HOME/build"
export EDITOR="nano"
export HISTFILE="$HOME/.logs/zhistory"
export HISTSIZE=10000 SAVEHIST=10000
export PAGER="less"
export SUDO_PROMPT="Password: "
export IPLAYER_OUTDIR="/mnt/INT2/video/pvr"
#ifndef HOME
#define HOME /home/len
#endif
XTerm*Geometry: 100x25
XTerm*foreground: #00ffb2
XTerm*background: #333333
XTerm*FaceName: Inconsolata:size=10
XTerm*boldColors: true
XTerm*boldMode: false