itReplace with for captions - 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 f19390275e984e18ad0f4acffa13d92b4870fc52 /scm/monochromatic/commit/f19390275e984e18ad0f4acffa13d92b4870fc52.gph z3bra.org 70 1parent c263ee39a4d9b00dd9f3c9fe8a0e9f2a226e8227 /scm/monochromatic/commit/c263ee39a4d9b00dd9f3c9fe8a0e9f2a226e8227.gph z3bra.org 70 hAuthor: Willy Goiffon URL:mailto:contact@z3bra.org z3bra.org 70 iDate: Mon, 23 Dec 2019 14:07:47 +0100 Err z3bra.org 70 i Err z3bra.org 70 iReplace with for captions Err z3bra.org 70 i Err z3bra.org 70 iDiffstat: Err z3bra.org 70 i M 2013/08/test-your-css.txt | 4 ++-- Err z3bra.org 70 i M 2013/10/home-sweet-home.txt | 24 ++++++++++++------------ Err z3bra.org 70 i M 2014/01/images-in-terminal.txt | 4 ++-- Err z3bra.org 70 i M 2014/04/meeting-at-the-bar.txt | 8 ++++---- Err z3bra.org 70 i M 2014/04/pop-it-up.txt | 8 ++++---- Err z3bra.org 70 i M 2014/05/grok-that-workflow.txt | 12 ++++++------ 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 | 8 ++++---- Err z3bra.org 70 i M 2015/01/you-are-the-wm.txt | 4 ++-- Err z3bra.org 70 i M 2016/01/make-your-own-distro.txt | 13 +++++++------ Err z3bra.org 70 i M 2016/09/pack-it-up.txt | 4 ++-- Err z3bra.org 70 i M monochrome.css | 5 ++--- Err z3bra.org 70 i Err z3bra.org 70 i12 files changed, 49 insertions(+), 49 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@@ -23,8 +23,8 @@ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor Err z3bra.org 70 i ### Images Err z3bra.org 70 i 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+*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 i ### Tables and code 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@@ -87,8 +87,8 @@ to look the way you want. Use stuff like [librgba](http://gnome-look.org/content Err z3bra.org 70 i even prettier! Err z3bra.org 70 i 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+*Here is a quick CWM setup, using compton and Err z3bra.org 70 i+librgba* Err z3bra.org 70 i Err z3bra.org 70 i Oh! A last advice, **do not bind applications through your WM**. Using an Err z3bra.org 70 i application like [xbindkeys](http://www.nongnu.org/xbindkeys/xbindkeys.html) to Err z3bra.org 70 it@@ -231,9 +231,9 @@ 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](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+*A terminal running the script 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+colors along system informations* Err z3bra.org 70 i Err z3bra.org 70 i

Shell

Err z3bra.org 70 i Err z3bra.org 70 it@@ -296,8 +296,8 @@ And my old zsh prompt: 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](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+*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 i

CLI tools

Err z3bra.org 70 i Err z3bra.org 70 it@@ -328,12 +328,12 @@ As an alternative, take a look at [emacs](https://www.gnu.org/software/emacs/), Err z3bra.org 70 i [Alpine](http://sourceforge.net/projects/re-alpine/). Err z3bra.org 70 i 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+*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 i top-right: **mutt** Err z3bra.org 70 i bottom-left: **tmux** Err z3bra.org 70 i-bottom-right: **irssi** Err z3bra.org 70 i+bottom-right: **irssi*** Err z3bra.org 70 i Err z3bra.org 70 i

Status bar

Err z3bra.org 70 i Err z3bra.org 70 it@@ -364,10 +364,10 @@ 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](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+*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 i-in one of his blog post Err z3bra.org 70 i+in one of his blog post* Err z3bra.org 70 i Err z3bra.org 70 i

Integration

Err z3bra.org 70 i Err z3bra.org 70 it@@ -441,8 +441,8 @@ Finally, here is my own xinitrc Err z3bra.org 70 i wm $1 Err z3bra.org 70 i 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+*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 i ### Conclusion 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@@ -115,9 +115,9 @@ the ranger source, I ended up with this line: 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](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+*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 i+;)* Err z3bra.org 70 i Err z3bra.org 70 i ### the wrapping Err z3bra.org 70 i 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@@ -538,13 +538,13 @@ 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](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+*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+*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](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+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@@ -93,8 +93,8 @@ After that, you can style it to make it look like you want: Err z3bra.org 70 i (echo " $@"; sleep ${duration}) | bar ${baropt} Err z3bra.org 70 i 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+*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 i Obviously, that's not an informative popup at all (is it?). All you need now is Err z3bra.org 70 i to write some simple script to grab the informations you will need to display in Err z3bra.org 70 it@@ -304,11 +304,11 @@ 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](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+*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 i Next is a new mail (spawned via `touch $MAIL/new/shblah`). And finally, the Err z3bra.org 70 i battery level, bound to a key for the purpose of the gif. Otherwise it only Err z3bra.org 70 i-shows up under 15% (written in red) Err z3bra.org 70 i+shows up under 15% (written in red)* Err z3bra.org 70 i Err z3bra.org 70 i Enjoy! 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@@ -53,11 +53,11 @@ Here is a typical crux workflow: Err z3bra.org 70 i Err z3bra.org 70 i [![installing packages under 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+*Here is a show case of a package installation under crux. Err z3bra.org 70 i [prtmk](http://git.z3bra.org/scripts/files/prtmk.html) 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 i you just need to download, compile the sources and install the package. Pretty Err z3bra.org 70 i-easy :) Err z3bra.org 70 i+easy :)* Err z3bra.org 70 i Err z3bra.org 70 i

Managing windows

Err z3bra.org 70 i My window manager of choice is venam's [2bwm](https://github.com/venam/2bwm). Err z3bra.org 70 it@@ -87,9 +87,9 @@ Here is how my keybinds are organised: Err z3bra.org 70 i Err z3bra.org 70 i [![managning 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+*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 i+those)* Err z3bra.org 70 i Err z3bra.org 70 i #### Managing groups Err z3bra.org 70 i Err z3bra.org 70 it@@ -118,8 +118,8 @@ behavior with a hotkey ! Err z3bra.org 70 i Err z3bra.org 70 i [![managning 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+*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 i

Scripting the shell

Err z3bra.org 70 i The shell is a really powerfull toy. Not only because it looks badass, but 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@@ -143,6 +143,6 @@ Also, as per tradition, here is a video of what it looks like. Err z3bra.org 70 i 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+*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 i-anymore) of `2bwm`. Err z3bra.org 70 i+anymore) of `2bwm`.* 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@@ -45,9 +45,9 @@ client of choice. Err z3bra.org 70 i 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+*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 i-:) Err z3bra.org 70 i+:)* Err z3bra.org 70 i Err z3bra.org 70 i ### The Unix way Err z3bra.org 70 i Err z3bra.org 70 it@@ -154,8 +154,8 @@ Oh, and by the way... Here is the mandatory screenshot ;) Err z3bra.org 70 i 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+*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 i-file Err z3bra.org 70 i+file* Err z3bra.org 70 i Err z3bra.org 70 i Be creative, and keep tweaking ! 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@@ -73,9 +73,9 @@ mode](http://pub.z3bra.org/monochromatic/img/thumb/floater.gif)](http://pub.z3br Err z3bra.org 70 i [![gif showing tiling Err z3bra.org 70 i mode](http://pub.z3bra.org/monochromatic/img/thumb/tiler.gif)](http://pub.z3bra.org/monochromatic/img/tiler.gif) Err z3bra.org 70 i Err z3bra.org 70 i-\*only exception is the use of x-move-resize from Err z3bra.org 70 i+*\*only exception is the use of x-move-resize from Err z3bra.org 70 i [no-wm](https://github.com/patrickhaller/no-wm), which is planned to be added to Err z3bra.org 70 i-wmutils anyway) Err z3bra.org 70 i+wmutils anyway)* Err z3bra.org 70 i Err z3bra.org 70 i Check out the "[contrib](http://github.com/wmutils/contrib)" repo. There are Err z3bra.org 70 i some nice scripts in there ! 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@@ -67,8 +67,9 @@ prefix. 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 i+ Err z3bra.org 70 i+*Using the cross-compiler to build a software statically against musl Err z3bra.org 70 i+libc.* Err z3bra.org 70 i Err z3bra.org 70 i Err z3bra.org 70 i #### Package management toolchain Err z3bra.org 70 it@@ -95,8 +96,8 @@ installation via [pm](http://git.z3bra.org/pm/log.html). 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 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 i Err z3bra.org 70 i #### Testing toolchain Err z3bra.org 70 i To actually test the distro, you need a way to boot from it. I chose to use linux Err z3bra.org 70 it@@ -117,8 +118,8 @@ it's been a pretty successful (and fun!) experience. 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 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 i Err z3bra.org 70 i In the process, I learnt how to spawn containers "the hard way". Here is a quick Err z3bra.org 70 i peak at it: 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@@ -215,5 +215,5 @@ show off the whole process! 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 i+*Packaging, deploying and installing Err z3bra.org 70 i+[`skroll`](http://z3bra.org/skroll) on my system* Err z3bra.org 70 1diff --git a/monochrome.css b/monochrome.css /scm/monochromatic/file/monochrome.css.gph z3bra.org 70 it@@ -100,10 +100,9 @@ img { Err z3bra.org 70 i margin:auto; Err z3bra.org 70 i } Err z3bra.org 70 i Err z3bra.org 70 i-/* Comment images - use with or
*/ Err z3bra.org 70 i-.caption { Err z3bra.org 70 i+/* Image captions are tags following */ Err z3bra.org 70 i+img + em { Err z3bra.org 70 i display: block; Err z3bra.org 70 i- font-style: italic; Err z3bra.org 70 i margin: auto; Err z3bra.org 70 i text-align: center; Err z3bra.org 70 i } Err z3bra.org 70 .