Skip to content

Instantly share code, notes, and snippets.

# -*- mode: ruby -*-
# vi: set ft=ruby :
# _ __ __ _____ __
# | | / /___ _____ __________ _____ / /_/ __(_) /__
# | | / / __ `/ __ `/ ___/ __ `/ __ \/ __/ /_/ / / _ \
# | |/ / /_/ / /_/ / / / /_/ / / / / /_/ __/ / / __/
# |___/\__,_/\__, /_/ \__,_/_/ /_/\__/_/ /_/_/\___/
# /____/
# Change this to suit your dotfiles setup and copy to your *HOST* machine: $HOME/.vagrant.d/Vagrantfile
@JeremyOttley
JeremyOttley / .tmux.conf
Created November 15, 2017 14:01
Tmux Configuration
##
## Basic Options
##
# UTF-8
set -g utf8 on
set -g status-utf8 on
# Mouse
set -g mouse-select-pane off
# OSmacs #
cd ~
git clone https://github.com/Gazaunga/OSmacs.git ~/.emacs.d
pacaur -Syu --noconfirm --noedit xorg emacs-git ruby qutebrowser-git nerd-fonts-git osx-el-capitan-theme-git lxappearance mpv-git bomi-git byobu xorg-fonts-75dpi xorg-fonts-100dpi sddm
#sudo systemctl enable sddm.service
touch ~/.xinitrc
@JeremyOttley
JeremyOttley / prayer-time
Created December 15, 2017 17:10
Muslim Call to Prayer
#! /bin/bash
#derived from https://github.com/mohabaks
DISPLAY=:0
PATH=$HOME/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
# Get current time
current_time=`date "+ %H:%M"`
@JeremyOttley
JeremyOttley / daemon.conf
Created December 21, 2017 16:46
pulseaudio conf - /etc/pulse/daemon.conf
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
@JeremyOttley
JeremyOttley / ncmpcpp
Last active December 24, 2017 11:15
music config - ~/.ncmpcpp/config
enable_window_title = "no"
header_visibility = "no"
titles_visibility = "no"
statusbar_visibility = "no"
mouse_support = "yes"
display_bitrate = "yes"
autocenter_mode = "yes"
display_
ask_before_clearing_playlists = "no"
visualizer_in_stereo = "yes"
@JeremyOttley
JeremyOttley / .Xresources
Created December 24, 2017 20:17
ultra xterm
Xft*dpi: 96
Xft*antialias: true
Xft*hinting: true
Xft*hintstyle: hintfull
Xft*rgba: rgb
! XTerm
! General settings
XTerm*geometry: 80x24
! Google Material Design
*background : #263238
*foreground : #eceff1
! black
*color0 : #263238
*color8 : #37474f
! red
*color1 : #ff9800
@JeremyOttley
JeremyOttley / config
Created January 3, 2018 21:43
terminator config file
[global_config]
inactive_color_offset = 1.0
tab_position = hidden
title_font = 3270Medium Nerd Font Bold 14
title_inactive_bg_color = "#00002c"
title_inactive_fg_color = "#ff0000"
title_receive_bg_color = "#c90047"
title_transmit_bg_color = "#00002c"
title_transmit_fg_color = "#02ff00"
title_use_system_font = False
@JeremyOttley
JeremyOttley / statusbar.rb
Created January 6, 2018 17:02
jruby status bar
#!/usr/bin/env jruby
# coding: utf-8
# $Id: statusbar.rb,v 1.18 2016/10/07 22:27:26 jashank Exp $
require 'cgi'
require 'date'
require 'dbus'
require 'json'
require 'pg'
require 'pmap'