Skip to content

Instantly share code, notes, and snippets.

View ropery's full-sized avatar
🐢
Screw you guys I’m going home 👉

ropery

🐢
Screw you guys I’m going home 👉
  • Fucking, Austria
View GitHub Profile
Google Search Suggestions for "When will <country>" (2016-10-23)
[Afghanistan]
when will afghanistan war end
when will afghanistan be safe
when will afghanistan be over
when will the afghanistan war end yahoo
when will britain leave afghanistan
when will nato leave afghanistan
when will isaf leave afghanistan
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Techlive Zheng <techlivezheng at gmail dot com>
# Contributor: peace4all <markspost at rocketmail dot com>
pkgname=dnscrypt-proxy
pkgver=1.7.0
pkgrel=1
pkgdesc="A tool for securing communications between a client and a DNS resolver"
arch=('i686' 'x86_64')
# Maintainer: Lukas Fleischer <lfleischer@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@hoetzel.info>
# Contributor: basilburn (basilburn), Paul Bredbury (brebs)
pkgname=privoxy
pkgver=3.0.26
pkgrel=1
pkgdesc='A web proxy with advanced filtering capabilities.'
arch=('i686' 'x86_64')
url='https://www.privoxy.org'
From: lolilolicon <lolilolicon@gmail.com>
Date: Sun, 10 Aug 2014 15:40:18 +0000
Subject: [PATCH] win_open: refactor geometry & gravity calculation
When either x or y coordinate is not specified, default to place window
at the center of the screen in that dimension. Assign window gravity
according to the dimension and value of user specified coordinate(s).
It's worth noting that NorthGravity and SouthGravity are impossible to
be achieved via user specified geometry, since it's impossible to
@ropery
ropery / gist:1510772
Created December 22, 2011 15:54
daytime colors (X resources)
*background: #FFFFFF
*foreground: #595959
*cursorColor: #1D9AE4
*color0: #CFCDAD
*color1: #E34949
*color2: #36995A
*color3: #E38736
*color4: #4181F0
*color5: #D13CD6
*color6: #3C8D8F
diff -r 183cedbebe52 config.def.h
--- a/config.def.h Fri Nov 04 20:02:35 2011 +0100
+++ b/config.def.h Fri Nov 11 18:13:10 2011 +0800
@@ -32,6 +32,9 @@
{ "[]=", tile }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
+ { "TTT", bstack },
+ { "|||", col },
+ { "[]@", spiral },
diff -r 183cedbebe52 -r 54ee8a7845c7 config.def.h
--- a/config.def.h Fri Nov 04 20:02:35 2011 +0100
+++ b/config.def.h Wed Nov 09 23:50:23 2011 +0800
@@ -32,6 +32,9 @@
{ "[]=", tile }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
+ { "TTT", bstack },
+ { "|||", col },
+ { "[]@", spiral },
@ropery
ropery / dwm_master-slave_layouts.patch
Created November 6, 2011 16:18
dwm patch: a general approach to master-slave layouts
# HG changeset patch
# User lolilolicon <lolilolicon@gmail.com>
# Date 1320595974 -28800
# Node ID 5776983c49e43b864db2de06225f1450d76bcd89
# Parent 183cedbebe526a782ecf323d46e7f0fad97eb7e9
Import the master-slave layout idea, with new layouts.
diff -r 183cedbebe52 -r 5776983c49e4 config.def.h
--- a/config.def.h Fri Nov 04 20:02:35 2011 +0100
+++ b/config.def.h Mon Nov 07 00:12:54 2011 +0800
scratchpad.patch for dwm 5.9
A scratchpad is a window that is assigned the (hidden) scratchtag.
A window becomes a scratchpad if its WM_NAME at its creation time is the value
of the scratchpadname variable.
togglescratchpad() is actually a variant of toggleview().
To use this, put the following definitions in config.h:
static const char scratchpadname[] = "Scratchpad"; /* make it unique, avoid name collision */
static const char *scratchpadcmd[] = { "uxterm", "-title", scratchpadname, "-geometry", "80x20", NULL }; /* WM_NAME must be scratchpadname */
activetags.patch for dwm 5.9
Depends on urgcolors.patch
Changes the way tags are displayed in the dwm bar:
* Selected tags are displayed as usual.
* Urgent tags are displayed in reverted dc.urg colors.
* Other tags are not diaplayed in the bar.
* The little squares are not drawn.
Tip: make every tag equally long, using a monospaced font.
--- a/dwm.c 2011-07-11 03:53:25.848996476 +0000