[wiki] [sites] dwm: remove ansistatuscolors patch || FRIGN

From: <git_AT_suckless.org>
Date: Wed, 13 Jul 2016 08:55:18 +0200

commit 61e9639a5f11e7d11589efd4f46b04a59671f2f8
Author: FRIGN <dev_AT_frign.de>
Date: Wed Jul 13 08:54:29 2016 +0200

    dwm: remove ansistatuscolors patch
    
    I see no way to contact the author and the recent libdrw-changes
    make it break for version 6.1.
    If someone cares for it, he can update it and reopen the page.
    Nothing is lost in git.

diff --git a/dwm.suckless.org/patches/ansistatuscolors.md b/dwm.suckless.org/patches/ansistatuscolors.md
deleted file mode 100644
index 52aad97..0000000
--- a/dwm.suckless.org/patches/ansistatuscolors.md
+++ /dev/null
_AT_@ -1,100 +0,0 @@
-# AnsiStatusColors - colorize your status bar using ansi escape sequences#
-
-## Description ##
-
-Lets you put colored text in your status bar, but you don't have define them in your config.h. Instead, just put the ansi escape sequence in the output of your status bar script to print in color, as you would in a terminal.
-
-## Configuration ##
-
-get the patch from github: [https://gist.github.com/4054818](https://gist.github.com/4054818)
-
-apply it to dwm.c like so:
-
- patch -p1 dwm.c < ansistatuscolors.diff
-
-## Usage ##
-
-Just like you'd use them for colorizing a shell script.
-
-more info is here: [http://www.frexx.de/xterm-256-notes/](http://www.frexx.de/xterm-256-notes/)
-
-an ansi escape sequence is in the form:
-
- \e[<code>m
-
-where:
-
- \e - escape - ascii 27 / hex 1b / octal 033
- [ - literal bracket
- m - literal 'm'
-
-the code is one of the following:
-
- 0
- - reset colors to default
-
- n;m
-
- n -
- o - normal color
- 1 - 'bright' color
-
- m -
- 30-37 - foreground
- 40-47 - background
-
- n;5;m
-
- n -
- 38 - foreground
- 48 - background
- 5 -
- literal '5'
- m -
- 0-15 - classic ansi color
- 16-231 - xterm 256-color rgb color
- 232-255 - grayscale
-
-in vim, to create a literal 'escape' character, type ctrl-v, esc.
-in perl/python/c, within a string literal, it's "\x1b".
-
-### Example ###
- #!/usr/bin/env python
- ##testcoloredstatus.py
-
- from subprocess import call,check_output
-
- redfg = '\x1b[38;5;196m' #hex
- redbg = '' #octal
- blackbg = '\x1b[48;5;16m'
- reset = '\x1b[0m'
-
- call(['xsetroot','-name',''.join(
- [
- redfg,
- 'hello ',
- reset,
- redbg,
- 'world',
- reset,
- '! bar graph: 50% ',
- redbg,
- ' '*5,
- blackbg,
- ' '*5,
- reset,
- ' ',
- check_output("date").strip()
- ]
- )], shell=False)
-###Screenshot###
-my battery is discharging and my wifi signal is iffy ...
-
-![alt text](ansistatuscolors.png)
-
-###Author###
-Brandon Dowell <brandon DOT dowell AT gmail>
-
-github.com/la11111
-
-holler if you find a bug, or fork it on github and fix it!
diff --git a/dwm.suckless.org/patches/ansistatuscolors.png b/dwm.suckless.org/patches/ansistatuscolors.png
deleted file mode 100644
index a4eeba4..0000000
Binary files a/dwm.suckless.org/patches/ansistatuscolors.png and /dev/null differ
Received on Wed Jul 13 2016 - 08:55:18 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 13 2016 - 09:00:16 CEST