From Clean & Green Mockup to OpenBSD cwm(1) desktop

www.tumfatig.net
3 min read
fairly easy
If the words CGA or Hercules raise sweet memories from your far away youth, the Mockup Clean & Green from u/awareofdistractions may hit you right in the heart. And if you like it so much, it ma…
If the words CGA or Hercules raise sweet memories from your far away youth, the Mockup Clean & Green from u/awareofdistractions may hit you right in the heart. And if you like it so much, it may be used for real-life desktop environment using OpenBSD stock and ports material.

Desktop and Window manager

Configure your .xsession file to paint the desktop grey and start cwm(1).

# vi ~/.xsession (...) xsetroot -solid '#4C566A' polybar -c ~/.config/polybar/mockup top & exec cwm

Configure your .cwmrc file so that it goes green & grey.

# vi ~/.cwmrc (...) ignore polybar (...) borderwidth 3 gap 50 0 0 0 snapdist 20 fontname "Iosevka NF:size=12" color activeborder "#50FA7B" color inactiveborder "#21222C" color menubg "#282A36" color menufg "#50FA7B" color font "#F8F8F2" color selfont "#282A36"

Grab the Iosevka Term font in Nerd Fonts edition.

# ftp -o "~/.fonts/Iosevka-Medium-Complete-Mono.ttf" 'https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/Iosevka/Medium/complete/Iosevka%20Term%20Medium%20Nerd%20Font%20Complete%20Mono.ttf?raw=true'

Status bar

Install polybar from ports. Then configure it to display the various informations in the right colors.

# pkg_add polybar # mkdir -p ~/.config/polybar # vi ~/.config/polybar/mockup [colors] bg = #2E3440 fg = #FFFFFF green = #50FA7B [settings]…
Read full article