itPoint content to another virtual domain - monochromatic - monochromatic blog: http://blog.z3bra.org Err z3bra.org 70 hgit clone git://z3bra.org/monochromatic URL:git://z3bra.org/monochromatic z3bra.org 70 1Log /scm/monochromatic/log.gph z3bra.org 70 1Files /scm/monochromatic/files.gph z3bra.org 70 1Refs /scm/monochromatic/refs.gph z3bra.org 70 i--- Err z3bra.org 70 1commit 1ca7ba49226092d665985baeb665b7ff05c6cc87 /scm/monochromatic/commit/1ca7ba49226092d665985baeb665b7ff05c6cc87.gph z3bra.org 70 1parent f20d2bf3ae2fdf7ad850ab4b72c0dfd695adec52 /scm/monochromatic/commit/f20d2bf3ae2fdf7ad850ab4b72c0dfd695adec52.gph z3bra.org 70 hAuthor: z3bra URL:mailto:contactatz3bradotorg z3bra.org 70 iDate: Thu, 6 Jul 2017 13:52:57 +0200 Err z3bra.org 70 i Err z3bra.org 70 iPoint content to another virtual domain Err z3bra.org 70 i Err z3bra.org 70 iDiffstat: Err z3bra.org 70 i M 2013/08/test-your-css.txt | 2 +- Err z3bra.org 70 i M 2013/10/home-sweet-home.txt | 14 +++++++------- Err z3bra.org 70 i M 2013/12/love-me-some-latex.txt | 2 +- Err z3bra.org 70 i M 2014/01/images-in-terminal.txt | 4 ++-- Err z3bra.org 70 i M 2014/03/toolbox.txt | 16 ++++++++-------- Err z3bra.org 70 i M 2014/04/meeting-at-the-bar.txt | 4 ++-- Err z3bra.org 70 i M 2014/04/pop-it-up.txt | 4 ++-- Err z3bra.org 70 i M 2014/05/grok-that-workflow.txt | 18 +++++++++--------- Err z3bra.org 70 i M 2014/11/avoid-workspaces.txt | 4 ++-- Err z3bra.org 70 i M 2014/12/so-tox-me-maybe.txt | 4 ++-- Err z3bra.org 70 i M 2015/01/you-are-the-wm.txt | 4 ++-- Err z3bra.org 70 i M 2015/06/vomiting-colors.txt | 14 +++++++------- Err z3bra.org 70 i M 2015/08/cross-compiling-with-pcc-a… | 12 ++++++------ Err z3bra.org 70 i M 2016/01/make-your-own-distro.txt | 6 +++--- Err z3bra.org 70 i M 2016/09/pack-it-up.txt | 2 +- Err z3bra.org 70 i Err z3bra.org 70 i15 files changed, 55 insertions(+), 55 deletions(-) Err z3bra.org 70 i--- Err z3bra.org 70 1diff --git a/2013/08/test-your-css.txt b/2013/08/test-your-css.txt /scm/monochromatic/file/2013/08/test-your-css.txt.gph z3bra.org 70 it@@ -22,7 +22,7 @@ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor Err z3bra.org 70 i Err z3bra.org 70 i ### Images Err z3bra.org 70 i Err z3bra.org 70 i-[![ratpoison screenshot](/pub/img/thumb/2013-08-ratpoison.jpg)](/pub/img/2013-08-ratpoison.jpg) Err z3bra.org 70 i+[![ratpoison screenshot](http://pub.z3bra.org/monochromatic/img/thumb/2013-08-ratpoison.jpg)](http://pub.z3bra.org/monochromatic/img/2013-08-ratpoison.jpg) Err z3bra.org 70 i Ratpoison screenshot Err z3bra.org 70 i Uses "ratpoison -c set border 28" to make the shot sexier Err z3bra.org 70 i Err z3bra.org 70 1diff --git a/2013/10/home-sweet-home.txt b/2013/10/home-sweet-home.txt /scm/monochromatic/file/2013/10/home-sweet-home.txt.gph z3bra.org 70 it@@ -86,7 +86,7 @@ to look the way you want. Use stuff like [librgba](http://gnome-look.org/content Err z3bra.org 70 i [compton](https://github.com/chjj/compton) to make it Err z3bra.org 70 i even prettier! Err z3bra.org 70 i Err z3bra.org 70 i-[![cwm screenshot](/pub/img/thumb/2013-10-28-cwm.jpg)](/pub/img/2013-10-28-cwm.jpg) Err z3bra.org 70 i+[![cwm screenshot](http://pub.z3bra.org/monochromatic/img/thumb/2013-10-28-cwm.jpg)](http://pub.z3bra.org/monochromatic/img/2013-10-28-cwm.jpg) Err z3bra.org 70 i Here is a quick CWM setup, using compton and Err z3bra.org 70 i librgba Err z3bra.org 70 i Err z3bra.org 70 it@@ -230,9 +230,9 @@ Here is a small example: Err z3bra.org 70 i So, we have seen how to tweak the terminal, let's see what it looks like! Err z3bra.org 70 i I wrote a small script for the purpose: Err z3bra.org 70 i Err z3bra.org 70 i-[![term screenshot](/pub/img/thumb/2013-10-28-term.jpg)](/pub/img/2013-10-28-term.jpg) Err z3bra.org 70 i+[![term screenshot](http://pub.z3bra.org/monochromatic/img/thumb/2013-10-28-term.jpg)](http://pub.z3bra.org/monochromatic/img/2013-10-28-term.jpg) Err z3bra.org 70 i A terminal running the script Err z3bra.org 70 i-[info.sh](/pub/misc/info.sh) that dump 16 Err z3bra.org 70 i+[info.sh](http://pub.z3bra.org/monochromatic/misc/info.sh) that dump 16 Err z3bra.org 70 i colors along system informations Err z3bra.org 70 i Err z3bra.org 70 i

Shell

Err z3bra.org 70 it@@ -295,7 +295,7 @@ And my old zsh prompt: Err z3bra.org 70 i PROMPT=" %{$fg_bold[yellow]%} » " Err z3bra.org 70 i RPROMPT="%{$fg[black]%}%M:%{$fg_bold[yellow]%}%~%{$reset_color%} " Err z3bra.org 70 i Err z3bra.org 70 i-[![shell screenshot](/pub/img/thumb/2013-10-28-shell.jpg)](/pub/img/2013-10-28-shell.jpg) Err z3bra.org 70 i+[![shell screenshot](http://pub.z3bra.org/monochromatic/img/thumb/2013-10-28-shell.jpg)](http://pub.z3bra.org/monochromatic/img/2013-10-28-shell.jpg) Err z3bra.org 70 i A few different prompts, from top to bottom: sh, zsh, Err z3bra.org 70 i bash, zsh Err z3bra.org 70 i Err z3bra.org 70 it@@ -327,7 +327,7 @@ As an alternative, take a look at [emacs](https://www.gnu.org/software/emacs/), Err z3bra.org 70 i [weechat](http://weechat.org/) and Err z3bra.org 70 i [Alpine](http://sourceforge.net/projects/re-alpine/). Err z3bra.org 70 i Err z3bra.org 70 i-[![cwm screenshot](/pub/img/thumb/2013-10-28-cli.jpg)](/pub/img/2013-10-28-cli.jpg) Err z3bra.org 70 i+[![cwm screenshot](http://pub.z3bra.org/monochromatic/img/thumb/2013-10-28-cli.jpg)](http://pub.z3bra.org/monochromatic/img/2013-10-28-cli.jpg) Err z3bra.org 70 i Mandatory screenshot of the setup with those apps (and Err z3bra.org 70 i custom themes). Err z3bra.org 70 i top-left: **vim** Err z3bra.org 70 it@@ -363,7 +363,7 @@ That is all you need. For example, if you only need the date in the bar: Err z3bra.org 70 i And there you go! You can achieve really great looking stuff with that simple Err z3bra.org 70 i process: Err z3bra.org 70 i Err z3bra.org 70 i-[![bar screenshot](/pub/img/thumb/2013-10-28-bar.jpg)](/pub/img/2013-10-28-bar.jpg) Err z3bra.org 70 i+[![bar screenshot](http://pub.z3bra.org/monochromatic/img/thumb/2013-10-28-bar.jpg)](http://pub.z3bra.org/monochromatic/img/2013-10-28-bar.jpg) Err z3bra.org 70 i You can also choose to put your status bar within a Err z3bra.org 70 i terminal multiplexer status bar, Err z3bra.org 70 i [as phyrne suggested](http://calummacrae.blogspot.fr/2012/12/dropping-status-bars-for-tmux-as-im.html) Err z3bra.org 70 it@@ -440,7 +440,7 @@ Finally, here is my own xinitrc Err z3bra.org 70 i Err z3bra.org 70 i wm $1 Err z3bra.org 70 i Err z3bra.org 70 i-[![final screenshot](/pub/img/thumb/2013-10-28-final.jpg)](/pub/img/2013-10-28-final.jpg) Err z3bra.org 70 i+[![final screenshot](http://pub.z3bra.org/monochromatic/img/thumb/2013-10-28-final.jpg)](http://pub.z3bra.org/monochromatic/img/2013-10-28-final.jpg) Err z3bra.org 70 i That shot show off the whole setup, with prompt, bar, Err z3bra.org 70 i applications, etc... I hope you will like it! Err z3bra.org 70 i Err z3bra.org 70 1diff --git a/2013/12/love-me-some-latex.txt b/2013/12/love-me-some-latex.txt /scm/monochromatic/file/2013/12/love-me-some-latex.txt.gph z3bra.org 70 it@@ -21,7 +21,7 @@ probably better than you. So you can just **focus on what your Err z3bra.org 70 i are typing**. Err z3bra.org 70 i Err z3bra.org 70 i Seems interresting huh? So basically, what does it look like? Here's Err z3bra.org 70 i-a simple document (download/view it [HERE](/pub/misc/la.pdf)) Err z3bra.org 70 i+a simple document (download/view it [HERE](http://pub.z3bra.org/monochromatic/misc/la.pdf)) Err z3bra.org 70 i Err z3bra.org 70 i la.tex Err z3bra.org 70 i Err z3bra.org 70 1diff --git a/2014/01/images-in-terminal.txt b/2014/01/images-in-terminal.txt /scm/monochromatic/file/2014/01/images-in-terminal.txt.gph z3bra.org 70 it@@ -114,7 +114,7 @@ the ranger source, I ended up with this line: Err z3bra.org 70 i echo -e '0;1;0;0;200;160;;;;;ant.jpg\n4;\n3;' | /usr/lib/w3m/w3mimgdisplay Err z3bra.org 70 i Err z3bra.org 70 i **BOOM !** [It works!](http://chezmoicamarche.com) Err z3bra.org 70 i-[![Fucked up w3mimgdisplay trial](/pub/img/thumb/w3mimgdisplay-crap.jpg)](/pub/img/w3mimgdisplay-crap.jpg) Err z3bra.org 70 i+[![Fucked up w3mimgdisplay trial](http://pub.z3bra.org/monochromatic/img/thumb/w3mimgdisplay-crap.jpg)](http://pub.z3bra.org/monochromatic/img/w3mimgdisplay-crap.jpg) Err z3bra.org 70 i The result of the previous command. Our picture drawn in Err z3bra.org 70 i 200x100px, at offset +0+0 in the terminal. I'm sure you're already trying it Err z3bra.org 70 i ;) Err z3bra.org 70 it@@ -159,7 +159,7 @@ the script I came with: Err z3bra.org 70 i echo -e $w3m_command|$W3MIMGDISPLAY Err z3bra.org 70 i Err z3bra.org 70 i Let's see the rendering... Err z3bra.org 70 i-[![Fucked up w3mimgdisplay trial](/pub/img/thumb/w3mimgdisplay-good.jpg)](/pub/img/w3mimgdisplay-good.jpg) Err z3bra.org 70 i+[![Fucked up w3mimgdisplay trial](http://pub.z3bra.org/monochromatic/img/thumb/w3mimgdisplay-good.jpg)](http://pub.z3bra.org/monochromatic/img/w3mimgdisplay-good.jpg) Err z3bra.org 70 i Err z3bra.org 70 i The script draws the image depending on the terminal size (width AND height), Err z3bra.org 70 i and put the cursor after the image (exactly 2 lines after). Err z3bra.org 70 1diff --git a/2014/03/toolbox.txt b/2014/03/toolbox.txt /scm/monochromatic/file/2014/03/toolbox.txt.gph z3bra.org 70 it@@ -50,7 +50,7 @@ tools, because that's too specific. Err z3bra.org 70 i

2bwm

Err z3bra.org 70 i Err z3bra.org 70 i [LINK](http://git.z3bra.org/2bwm/log.html) — Err z3bra.org 70 i-[SHOT](/pub/img/2014-01-08-2bwm.jpg) Err z3bra.org 70 i+[SHOT](http://pub.z3bra.org/monochromatic/img/2014-01-08-2bwm.jpg) Err z3bra.org 70 i Err z3bra.org 70 i It means Two borders window manager. This is my WM of choice. It is a Err z3bra.org 70 i fork of [mcwm](http://hack.org/mc/hacks/mcwm/), but the author, Venam, added so Err z3bra.org 70 it@@ -66,12 +66,12 @@ middle, all that, just with your keyboard ! Err z3bra.org 70 i I personnally forked it myself to add a specific feature: window groups. It Err z3bra.org 70 i works kinda like traditionnal workspaces, except that you can show or hide them Err z3bra.org 70 i independently, allowing you to show multiple workspaces at the same time. See a Err z3bra.org 70 i-showcase [here](/pub/vid/2bwm.webm). Err z3bra.org 70 i+showcase [here](http://pub.z3bra.org/monochromatic/vid/2bwm.webm). Err z3bra.org 70 i Err z3bra.org 70 i

9menu

Err z3bra.org 70 i Err z3bra.org 70 i [LINK](ftp://freefriends.org/arnold/Source/) — Err z3bra.org 70 i-[SHOT](/pub/img/2014-03-17-menus.jpg) Err z3bra.org 70 i+[SHOT](http://pub.z3bra.org/monochromatic/img/2014-03-17-menus.jpg) Err z3bra.org 70 i Err z3bra.org 70 i Here is a simple, yet powerfull menu application. 9menu allows you to create Err z3bra.org 70 i static menus to launch your favorite applications. Users of the \*box WM, or Err z3bra.org 70 it@@ -88,7 +88,7 @@ shebang: `#!/usr/bin/9menu` Err z3bra.org 70 i

bar

Err z3bra.org 70 i Err z3bra.org 70 i [LINK](https://github.com/lemonboy/bar) — Err z3bra.org 70 i-[SHOT](/pub/img/2014-03-13-bar.jpg) Err z3bra.org 70 i+[SHOT](http://pub.z3bra.org/monochromatic/img/2014-03-13-bar.jpg) Err z3bra.org 70 i Err z3bra.org 70 i Bar (or (b)ar (a)in't (r)ecursive) is a lightweight status bar application Err z3bra.org 70 i written on top of XCB. You can pipe text to it, and it will be displayed within Err z3bra.org 70 it@@ -100,7 +100,7 @@ It allow the use of complex scripts to get a tons of infos within that thin, lov Err z3bra.org 70 i

dtach

Err z3bra.org 70 i Err z3bra.org 70 i [LINK](http://dtach.sourceforge.net/) — Err z3bra.org 70 i-[SHOT](/pub/img/2014-03-13-dtach.jpg) Err z3bra.org 70 i+[SHOT](http://pub.z3bra.org/monochromatic/img/2014-03-13-dtach.jpg) Err z3bra.org 70 i Err z3bra.org 70 i I often see newbies asking this question: Err z3bra.org 70 i Err z3bra.org 70 it@@ -242,7 +242,7 @@ Anyway, this is pretty neat to me! I hope you'll enjoy it. Err z3bra.org 70 i

skroll

Err z3bra.org 70 i Err z3bra.org 70 i [LINK](http://git.z3bra.org/skroll/log.html) — Err z3bra.org 70 i-[SHOT](/pub/img/2014-03-28-skroll.gif) Err z3bra.org 70 i+[SHOT](http://pub.z3bra.org/monochromatic/img/2014-03-28-skroll.gif) Err z3bra.org 70 i Err z3bra.org 70 i Here is something I wrote for fun. I don't actually need it, but other might Err z3bra.org 70 i find it useful. Skroll takes its input from stdin, and then makes it scroll on Err z3bra.org 70 it@@ -260,7 +260,7 @@ bar or whatever. **BAM** that's black magic ! Err z3bra.org 70 i

thingmenu

Err z3bra.org 70 i Err z3bra.org 70 i [LINK](http://git.r-36.net/thingmenu/) — Err z3bra.org 70 i-[SHOT](/pub/img/2014-03-17-menus.jpg) Err z3bra.org 70 i+[SHOT](http://pub.z3bra.org/monochromatic/img/2014-03-17-menus.jpg) Err z3bra.org 70 i Err z3bra.org 70 i Thingmenu is one of those app you've never heard of, but you use (or have used) Err z3bra.org 70 i daily, because it was part of a WM. Err z3bra.org 70 it@@ -274,7 +274,7 @@ Also, feel free to browse the whole git repo, it's full of good stuff ! Err z3bra.org 70 i

wendy

Err z3bra.org 70 i Err z3bra.org 70 i [LINK](http://git.z3bra.org/cgit.cgi/wendy) — Err z3bra.org 70 i-[SHOT](/pub/img/2014-03-13-wendy.jpg) Err z3bra.org 70 i+[SHOT](http://pub.z3bra.org/monochromatic/img/2014-03-13-wendy.jpg) Err z3bra.org 70 i Err z3bra.org 70 i Wendy makes my life better. I first wrote it as an exercise to learn inotify, Err z3bra.org 70 i but it turned out to be a good replacement to inotifywait. Err z3bra.org 70 1diff --git a/2014/04/meeting-at-the-bar.txt b/2014/04/meeting-at-the-bar.txt /scm/monochromatic/file/2014/04/meeting-at-the-bar.txt.gph z3bra.org 70 it@@ -537,14 +537,14 @@ But I'm pretty sure that it's a good start for your imagination. By the way, if Err z3bra.org 70 i you find neat tricks to improve the performances of the functions listed above, Err z3bra.org 70 i feel free to mail me these, I'll be glad to modify them! Err z3bra.org 70 i Err z3bra.org 70 i-[![barmk showcase](/pub/img/thumb/2014-04-02-barmk.png)](/pub/img/2014-04-02-barmk.png) Err z3bra.org 70 i+[![barmk showcase](http://pub.z3bra.org/monochromatic/img/thumb/2014-04-02-barmk.png)](http://pub.z3bra.org/monochromatic/img/2014-04-02-barmk.png) Err z3bra.org 70 i Before leaving you, here is what I got using this script Err z3bra.org 70 i (with some tweaks, see the `diff` output) Err z3bra.org 70 i Err z3bra.org 70 i Oh, and for reference. It tried to get the same result Err z3bra.org 70 i with conky and barmk, just to see the difference. Note how conky does not Err z3bra.org 70 i display float numbers (for CPU). Also, I was not able to recreate a desktop bar with conky, so I "downgraded" Err z3bra.org 70 i-the barmk script to make the battle more fair.[![barmk vs conky](/pub/img/thumb/2014-04-10-conky-mkbar.png)](/pub/img/2014-04-10-conky-mkbar.png) Err z3bra.org 70 i+the barmk script to make the battle more fair.
[![barmk vs conky](http://pub.z3bra.org/monochromatic/img/thumb/2014-04-10-conky-mkbar.png)](http://pub.z3bra.org/monochromatic/img/2014-04-10-conky-mkbar.png) Err z3bra.org 70 i Err z3bra.org 70 i Now go ahead, and watch how your computer tell you how he (or she) feels... Err z3bra.org 70 i Isn't that **amazing** ?! Err z3bra.org 70 1diff --git a/2014/04/pop-it-up.txt b/2014/04/pop-it-up.txt /scm/monochromatic/file/2014/04/pop-it-up.txt.gph z3bra.org 70 it@@ -92,7 +92,7 @@ After that, you can style it to make it look like you want: Err z3bra.org 70 i Create the popup and make it live for 3 seconds Err z3bra.org 70 i (echo " $@"; sleep ${duration}) | bar ${baropt} Err z3bra.org 70 i Err z3bra.org 70 i-[![simple popup](/pub/img/thumb/2014-04-29-popup-simple.png)](/pub/img/2014-04-29-popup-simple.png) Err z3bra.org 70 i+[![simple popup](http://pub.z3bra.org/monochromatic/img/thumb/2014-04-29-popup-simple.png)](http://pub.z3bra.org/monochromatic/img/2014-04-29-popup-simple.png) Err z3bra.org 70 i The simple script above, started with a random text. Err z3bra.org 70 i It's my upper left hand-corner Err z3bra.org 70 i Err z3bra.org 70 it@@ -305,7 +305,7 @@ status bar away, or switch from libnotify and such. It's just a bare simple Err z3bra.org 70 i alternative to those, as I like to have :) Err z3bra.org 70 i Err z3bra.org 70 i [![popup show Err z3bra.org 70 i-off](/pub/img/thumb/2014-04-30-popup-showoff.png)](/pub/img/2014-04-30-popup-showoff.png) Err z3bra.org 70 i+off](http://pub.z3bra.org/monochromatic/img/thumb/2014-04-30-popup-showoff.png)](http://pub.z3bra.org/monochromatic/img/2014-04-30-popup-showoff.png) Err z3bra.org 70 i Here is a little show case of what you can achieve. I Err z3bra.org 70 i used `stlarch_font` for the icon. Err z3bra.org 70 i the first popup is the volume bar. It goes red when it's muted. Err z3bra.org 70 1diff --git a/2014/05/grok-that-workflow.txt b/2014/05/grok-that-workflow.txt /scm/monochromatic/file/2014/05/grok-that-workflow.txt.gph z3bra.org 70 it@@ -52,7 +52,7 @@ Here is a typical crux workflow: Err z3bra.org 70 i 10. GOTO 4 Err z3bra.org 70 i Err z3bra.org 70 i [![installing packages under Err z3bra.org 70 i-crux](/pub/img/thumb/2014-05-26-prtutils.jpg)](/pub/img/2014-05-26-prtutils.gif) Err z3bra.org 70 i+crux](http://pub.z3bra.org/monochromatic/img/thumb/2014-05-26-prtutils.jpg)](http://pub.z3bra.org/monochromatic/img/2014-05-26-prtutils.gif) Err z3bra.org 70 i Here is a show case of a package installation under crux. Err z3bra.org 70 i [prtmk](http://git.z3bra.org/cgit.cgi/scripts/tree/prtmk) is a small script I Err z3bra.org 70 i wrote that will create `Pkgfile`s using templates. Once the Pkgfile is created, Err z3bra.org 70 it@@ -86,7 +86,7 @@ Here is how my keybinds are organised: Err z3bra.org 70 i Err z3bra.org 70 i Err z3bra.org 70 i [![managning Err z3bra.org 70 i-windows](/pub/img/thumb/2014-05-27-windows.jpg)](/pub/img/2014-05-27-windows.gif) Err z3bra.org 70 i+windows](http://pub.z3bra.org/monochromatic/img/thumb/2014-05-27-windows.jpg)](http://pub.z3bra.org/monochromatic/img/2014-05-27-windows.gif) Err z3bra.org 70 i Here are the movements I use on a daily basis. There are Err z3bra.org 70 i more features, but that's the one I use the most (other are just combination of Err z3bra.org 70 i those) Err z3bra.org 70 it@@ -117,7 +117,7 @@ behavior with a hotkey ! Err z3bra.org 70 i Err z3bra.org 70 i Err z3bra.org 70 i [![managning Err z3bra.org 70 i-groups](/pub/img/thumb/2014-05-27-groups.jpg)](/pub/img/2014-05-27-groups.gif) Err z3bra.org 70 i+groups](http://pub.z3bra.org/monochromatic/img/thumb/2014-05-27-groups.jpg)](http://pub.z3bra.org/monochromatic/img/2014-05-27-groups.gif) Err z3bra.org 70 i Showing the two behavior: workspaces VS. groups. Each Err z3bra.org 70 i windows holds the number of the group it's sitting on Err z3bra.org 70 i Err z3bra.org 70 it@@ -336,17 +336,17 @@ everything I present here is totally specific to me. As a bonus, to thank you Err z3bra.org 70 i for reading this, here is a small video of my day to day workflow. Enjoy! Err z3bra.org 70 i Err z3bra.org 70 i Err z3bra.org 70 i Err z3bra.org 70 i
Err z3bra.org 70 i download : Err z3bra.org 70 i- ogv | Err z3bra.org 70 i- mp4 | Err z3bra.org 70 i- webm Err z3bra.org 70 i+ ogv | Err z3bra.org 70 i+ mp4 | Err z3bra.org 70 i+ webm Err z3bra.org 70 i

Err z3bra.org 70 i Err z3bra.org 70 i
Err z3bra.org 70 1diff --git a/2014/11/avoid-workspaces.txt b/2014/11/avoid-workspaces.txt /scm/monochromatic/file/2014/11/avoid-workspaces.txt.gph z3bra.org 70 it@@ -138,10 +138,10 @@ management. Err z3bra.org 70 i Also, as per tradition, here is a video of what it looks like. Err z3bra.org 70 i Err z3bra.org 70 i Err z3bra.org 70 i Err z3bra.org 70 i-video: [mp4](/pub/vid/2014-11-18-groups.mp4) Err z3bra.org 70 i+video: [mp4](http://pub.z3bra.org/monochromatic/vid/2014-11-18-groups.mp4) Err z3bra.org 70 i Err z3bra.org 70 i this video illustrate the previous example showing how Err z3bra.org 70 i groups works, using a [forked version](git://z3bra.org/2bwm) (not maintained Err z3bra.org 70 1diff --git a/2014/12/so-tox-me-maybe.txt b/2014/12/so-tox-me-maybe.txt /scm/monochromatic/file/2014/12/so-tox-me-maybe.txt.gph z3bra.org 70 it@@ -43,7 +43,7 @@ Each user is assigned a tox ID (which is a randomly generated sequence of Err z3bra.org 70 i alphanumeric chars) that you can share with your friends to add them in your Err z3bra.org 70 i client of choice. Err z3bra.org 70 i Err z3bra.org 70 i-[![an utox window](/pub/img/thumb/2014-12-11-utox.png)](/pub/img/2014-12-11-utox.png) Err z3bra.org 70 i+[![an utox window](http://pub.z3bra.org/monochromatic/img/thumb/2014-12-11-utox.png)](http://pub.z3bra.org/monochromatic/img/2014-12-11-utox.png) Err z3bra.org 70 i Err z3bra.org 70 i An [utox](http://utox.org) window. As you can see, the Err z3bra.org 70 i friend list is on the right, and the chat happens on the right pane. Fairly easy Err z3bra.org 70 it@@ -152,7 +152,7 @@ scripts related to ratox. Err z3bra.org 70 i Err z3bra.org 70 i Oh, and by the way... Here is the mandatory screenshot ;) Err z3bra.org 70 i Err z3bra.org 70 i-[![ratox in action](/pub/img/thumb/2014-12-11-ratox.png)](/pub/img/2014-12-11-ratox.png) Err z3bra.org 70 i+[![ratox in action](http://pub.z3bra.org/monochromatic/img/thumb/2014-12-11-ratox.png)](http://pub.z3bra.org/monochromatic/img/2014-12-11-ratox.png) Err z3bra.org 70 i Err z3bra.org 70 i Ratox in action. A terminal multiplexer is of good help Err z3bra.org 70 i with it. It is also pretty easy to create an input bar for your `text_in` Err z3bra.org 70 1diff --git a/2015/01/you-are-the-wm.txt b/2015/01/you-are-the-wm.txt /scm/monochromatic/file/2015/01/you-are-the-wm.txt.gph z3bra.org 70 it@@ -261,7 +261,7 @@ MISCELLANOUS Err z3bra.org 70 i Err z3bra.org 70 i For eye candy purpose, I wrote a `pulsar` script, to make my currently active Err z3bra.org 70 i window standout. It make the window's border "pulse" like in the following Err z3bra.org 70 i-video: [wall-border.webm](/pub/vid/wall-border.webm). It uses a `$HOME/.colors` Err z3bra.org 70 i+video: [wall-border.webm](http://pub.z3bra.org/monochromatic/vid/wall-border.webm). It uses a `$HOME/.colors` Err z3bra.org 70 i file containing the colors to be used for the gradient. It will then run `chwb` Err z3bra.org 70 i at a regular interval to change the current window's borders. Err z3bra.org 70 i Err z3bra.org 70 it@@ -272,4 +272,4 @@ possible. Err z3bra.org 70 i Err z3bra.org 70 i As a bonus, to congratulate you from reading it all, here is a video from my Err z3bra.org 70 i actual workflow with this setup (writing my latest blogpost: Err z3bra.org 70 i-[(grab some popcorns, it's 57 minutes long)](/pub/vid/monochromatic-0x0017-writeup.webm) Err z3bra.org 70 i+[(grab some popcorns, it's 57 minutes long)](http://pub.z3bra.org/monochromatic/vid/monochromatic-0x0017-writeup.webm) Err z3bra.org 70 1diff --git a/2015/06/vomiting-colors.txt b/2015/06/vomiting-colors.txt /scm/monochromatic/file/2015/06/vomiting-colors.txt.gph z3bra.org 70 it@@ -14,14 +14,14 @@ ways. Err z3bra.org 70 i Without any further commenting, let's see how it works with this magnificent Err z3bra.org 70 i picture, randomly taken from the internet: Err z3bra.org 70 i Err z3bra.org 70 i-[![bamboo.png](/pub/img/thumb/20150609-bamboo.png)](/pub/img/20150609-bamboo.png) Err z3bra.org 70 i+[![bamboo.png](http://pub.z3bra.org/monochromatic/img/thumb/20150609-bamboo.png)](http://pub.z3bra.org/monochromatic/img/20150609-bamboo.png) Err z3bra.org 70 i Err z3bra.org 70 i `colors` allow you to choose the number of clusters you want to see on the Err z3bra.org 70 i output, so in our case, we'll output 16. It's possible that `colors` don't Err z3bra.org 70 i output the number of clusters you asked for. You can "force" outputing empty Err z3bra.org 70 i clusters with `-e`. Err z3bra.org 70 i Err z3bra.org 70 i-![default output](/pub/img/20150609-colors0.png) Err z3bra.org 70 i+![default output](http://pub.z3bra.org/monochromatic/img/20150609-colors0.png) Err z3bra.org 70 i Err z3bra.org 70 i Then you can choose how to set your clusters (from the hue domain or pixel space Err z3bra.org 70 i at the time of writing). Another solution when you don't get the number of Err z3bra.org 70 it@@ -29,14 +29,14 @@ colors you asked for (in my case, I only got 12 colors with -h), is to just ask Err z3bra.org 70 i for more, and truncate the output. It might give better colors than with `-e` Err z3bra.org 70 i sometimes. Err z3bra.org 70 i Err z3bra.org 70 i-![output from hue](/pub/img/20150609-colors1.png) Err z3bra.org 70 i-![output from pix](/pub/img/20150609-colors2.png) Err z3bra.org 70 i+![output from hue](http://pub.z3bra.org/monochromatic/img/20150609-colors1.png) Err z3bra.org 70 i+![output from pix](http://pub.z3bra.org/monochromatic/img/20150609-colors2.png) Err z3bra.org 70 i Err z3bra.org 70 i And then you can randomize the output, if you feel in the mood! You could also Err z3bra.org 70 i try using the [k-medians](https://en.wikipedia.org/wiki/K-medians) method, which Err z3bra.org 70 i takes longer but provides a better output regarding the initial file Err z3bra.org 70 i Err z3bra.org 70 i-![output random](/pub/img/20150609-colors3.png) Err z3bra.org 70 i+![output random](http://pub.z3bra.org/monochromatic/img/20150609-colors3.png) Err z3bra.org 70 i Err z3bra.org 70 i Try different pictures and flag combinations for better results! Err z3bra.org 70 i Err z3bra.org 70 it@@ -61,14 +61,14 @@ wallpaper. This works by outputing 32 colors, extracting the 16 colors in the Err z3bra.org 70 i middle and randomizing them. this way, your colors will not be too dark or too Err z3bra.org 70 i light. Err z3bra.org 70 i Err z3bra.org 70 i-![output neat](/pub/img/20150609-colors4.png) Err z3bra.org 70 i+![output neat](http://pub.z3bra.org/monochromatic/img/20150609-colors4.png) Err z3bra.org 70 i Err z3bra.org 70 i You can then make a script to change your wall every now and then, and change Err z3bra.org 70 i the colorscheme on the fly. Your colorscheme will ALWAYS match your current Err z3bra.org 70 i mood! Err z3bra.org 70 i Err z3bra.org 70 i Err z3bra.org 70 i Err z3bra.org 70 i Err z3bra.org 70 1diff --git a/2015/08/cross-compiling-with-pcc-and-musl.txt b/2015/08/cross-compiling-with-pcc-and-musl.txt /scm/monochromatic/file/2015/08/cross-compiling-with-pcc-and-musl.txt.gph z3bra.org 70 it@@ -1,7 +1,7 @@ Err z3bra.org 70 i # [cross-compiling with PCC and musl](#) Err z3bra.org 70 i ## — 16 August, 2015 Err z3bra.org 70 i Err z3bra.org 70 i-**TL;DR**: See the full script here: [cross-pcc.sh](/pub/misc/cross-pcc.sh). It will Err z3bra.org 70 i+**TL;DR**: See the full script here: [cross-pcc.sh](http://pub.z3bra.org/monochromatic/misc/cross-pcc.sh). It will Err z3bra.org 70 i create your toolchain in `$HOME/cross/pcc-x86_64` and name the tools Err z3bra.org 70 i `x86_64-linux-musl-*`. Err z3bra.org 70 i Err z3bra.org 70 it@@ -31,10 +31,10 @@ software you want to use. Here is my list at the time of writing: Err z3bra.org 70 i Err z3bra.org 70 i You can get the sources by following these links: Err z3bra.org 70 i Err z3bra.org 70 i-ftp://pcc.ludd.ltu.se/pub/pcc-releases Err z3bra.org 70 i+ftp://pcc.ludd.ltu.sehttp://pub.z3bra.org/monochromatic/pcc-releases Err z3bra.org 70 i ftp://ftp.gnu.org/gnu Err z3bra.org 70 i http://www.musl-libc.org/releases Err z3bra.org 70 i-https://www.kernel.org/pub/linux/kernel/v4.x Err z3bra.org 70 i+https://www.kernel.orghttp://pub.z3bra.org/monochromatic/linux/kernel/v4.x Err z3bra.org 70 i Err z3bra.org 70 i Once you have all your tarballs, extract them somewhere. Err z3bra.org 70 i Err z3bra.org 70 it@@ -53,9 +53,9 @@ with an alternative libc. It *seems* to be fixed in 1.2.0 (DEVEL version), if Err z3bra.org 70 i you're interrested. They fix the `configure` script to accept musl based Err z3bra.org 70 i targets, and fix the default library pass of the compiler. Err z3bra.org 70 i Err z3bra.org 70 i-+ [pcc-1.1.0-musl.diff](/pub/misc/pcc-1.1.0-musl.diff) Err z3bra.org 70 i-+ [pcc-libs-1.1.0-musl.diff](/pub/misc/pcc-libs-1.1.0-musl.diff) Err z3bra.org 70 i-+ [pcc-1.1.0-deflibdirs.diff](/pub/misc/pcc-1.1.0-deflibdirs.diff) Err z3bra.org 70 i++ [pcc-1.1.0-musl.diff](http://pub.z3bra.org/monochromatic/misc/pcc-1.1.0-musl.diff) Err z3bra.org 70 i++ [pcc-libs-1.1.0-musl.diff](http://pub.z3bra.org/monochromatic/misc/pcc-libs-1.1.0-musl.diff) Err z3bra.org 70 i++ [pcc-1.1.0-deflibdirs.diff](http://pub.z3bra.org/monochromatic/misc/pcc-1.1.0-deflibdirs.diff) Err z3bra.org 70 i Err z3bra.org 70 i ### 3,4,5,6. build everything Err z3bra.org 70 i Err z3bra.org 70 1diff --git a/2016/01/make-your-own-distro.txt b/2016/01/make-your-own-distro.txt /scm/monochromatic/file/2016/01/make-your-own-distro.txt.gph z3bra.org 70 it@@ -65,7 +65,7 @@ In order to use it, add the path to the toolchain in your path. Calling Err z3bra.org 70 i prefix. Err z3bra.org 70 i Err z3bra.org 70 i Err z3bra.org 70 i Using the cross-compiler to build a software statically Err z3bra.org 70 i against musl libc. Err z3bra.org 70 it@@ -93,7 +93,7 @@ port directory of your tool, eg `pm/pm#1.0.tar.bz`. Theses file are suitable for Err z3bra.org 70 i installation via [pm](http://git.z3bra.org/pm/log.html). Err z3bra.org 70 i Err z3bra.org 70 i Err z3bra.org 70 i Show casing the creation of a port within the mk port-tree Err z3bra.org 70 i and building/installing it under a specific directory Err z3bra.org 70 it@@ -115,7 +115,7 @@ As of today, spawning gettys doesn't work. I'll need to figure out why, but othe Err z3bra.org 70 i it's been a pretty successful (and fun!) experience. Err z3bra.org 70 i Err z3bra.org 70 i Err z3bra.org 70 i Demonstrating the whole testing process, from creating the Err z3bra.org 70 i containers and saying "hello world!" from within this container Err z3bra.org 70 1diff --git a/2016/09/pack-it-up.txt b/2016/09/pack-it-up.txt /scm/monochromatic/file/2016/09/pack-it-up.txt.gph z3bra.org 70 it@@ -213,7 +213,7 @@ describing the actual workflow. So as usual. Here is a quick video to Err z3bra.org 70 i show off the whole process! Err z3bra.org 70 i Err z3bra.org 70 i Err z3bra.org 70 i Packaging, deploying and installing Err z3bra.org 70 i [`skroll`](http://z3bra.org/skroll) on my system Err z3bra.org 70 .