Skip to content

Instantly share code, notes, and snippets.

View ivoarch's full-sized avatar

ivoarch (Ivaylo Kuzev) ivoarch

View GitHub Profile
@ivoarch
ivoarch / zenburn.py
Last active July 18, 2022 00:40
Zenburn like colorscheme for https://github.com/hut/ranger .
# Ivaylo Kuzev <[email protected]>, 2014
# Zenburn like colorscheme for https://github.com/hut/ranger .
# default colorscheme.
# Copyright (C) 2009-2013 Roman Zimbelmann <[email protected]>
# This software is distributed under the terms of the GNU GPL version 3.
from ranger.gui.colorscheme import ColorScheme
from ranger.gui.color import *
@ivoarch
ivoarch / motd
Created May 4, 2013 16:23
The Message of the Day (motd) http://www.sjjones.me.uk/files.html
================================================================================================================

.
/#\ _  _ _  _
/###\ __ _ _ __ ___| |__ | (_)_ __ _ ___ __| | _ ___ __ __
/#####\ / _` | '__/ __| '_ \ | | | '_ \| | | \ \/ /| | / \ | _ \ \/ |
/##.-.##\ | (_| | | | (__| | | || | | | | | |_| |> < | | / ^ \| / |\/| |
/##( )##\ \__._|_| \___|_| |_||_|_|_| |_|\__._/_/\_\| |/_/ \_\_|_\_| |_|
/#.-- --.#\  |_|
#!/usr/bin/env bash
dir=$(dirname $0)
gconfdir=/apps/gnome-terminal/profiles
echo # This makes the prompts easier to follow (as do other random echos below)
########################
### Select a profile ###
########################
@ivoarch
ivoarch / runorraise.diff
Last active October 12, 2015 23:57
equivalent to stumpwm's [run-or-raise] action for DWM
--- config.def.h.orig 2013-11-29 13:55:53.503216554 +0100
+++ config.def.h 2013-11-29 13:56:58.268191528 +0100
@@ -53,12 +53,14 @@
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", se\
lbgcolor, "-sf", selfgcolor, NULL };
static const char *termcmd[] = { "st", NULL };
+static const char *emacs[] = { "emacs", NULL, NULL, NULL, "Emacs" };
.highlight { background-color: #464646; }
.c { color: #7f9f7f; font-style: italic } /* Comment */
/* .err { border: 1px solid #cc9393 } /\* Error *\/ */
.k { color: #f0dfaf; font-weight: bold } /* Keyword */
.o { color: #dcdccc } /* Operator */
.cm { color: #7f9f7f; font-style: italic } /* Comment.Multiline */
.cp { color: #7f9f7f; } /* Comment.Preproc */
.c1 { color: #7f9f7f; font-style: italic } /* Comment.Single */
.cs { color: #7f9f7f; font-weight: bold } /* Comment.Special */
.gd { color: #dcdccc } /* Generic.Deleted */