wiki: Add tools/cwm
Anirudh Oppiliappan x@icyphox.sh
Sun, 21 Mar 2021 21:56:43 +0530
7 files changed,
96 insertions(+),
62 deletions(-)
M
bin/wiki.sh
→
bin/wiki.sh
@@ -12,13 +12,13 @@ }
topic() { entry="$1" - mkdir "$WIKI_PATH"/entry + mkdir "$WIKI_PATH/$entry" printf '%s' "--- title: $entry subtitle: date: $(date +'%Y-%m-%d') template: page.html ----" > "$WIKI_PATH"/entry/_index.md +---" > "$WIKI_PATH/$entry/"_index.md }
M
pages/wiki/_index.md
→
pages/wiki/_index.md
@@ -11,3 +11,5 @@ - [contact](/wiki/about/contact)
- [identity](/wiki/about/identity) - [friends](/wiki/friends) - [todo](/wiki/todo) +- [tools](/wiki/tools) + - [cwm](/wiki/tools/cwm)
M
pages/wiki/todo.md
→
pages/wiki/todo.md
@@ -8,3 +8,4 @@ ---
- [/wiki/friends](/wiki/friends): `/wiki/culture/4chan` - [/wiki/friends](/wiki/friends): `/wiki/interests/ricing` +- [/wiki/tools](/wiki/tools): A whole bunch.
A
pages/wiki/tools/_index.md
@@ -0,0 +1,16 @@
+--- +title: tools +subtitle: Tooling that I use to assist and enhance my workflows. +date: 2021-03-21 +template: page.html +--- + +This is a meta-page, with links to each tool. + +- [neovim](/wiki/tools/neovim) +- [vite](/wiki/tools/vite) +- [openbsd](/wiki/tools/openbsd) +- [cwm](/wiki/tools/cwm) +- [phone](/wiki/tools/phone) +- [keyboard](/wiki/tools/keyboard) +- [shell](/wiki/tools/shell)
A
pages/wiki/tools/cwm.md
@@ -0,0 +1,16 @@
+--- +title: cwm +subtitle: The calm window manager. +date: 2021-03-21 +template: page.html +--- + +![cwm, editing this post](https://x.icyphox.sh/YjsAX.png) + +cwm(1) is -- hands down -- the best window manager that I have used. And +I have used many. It has ships with very sane defaults, and +configuration is a breeze. + +It has a built-in launcher, workspaces (called groups), and a few more +neat features. My `.cwmrc` is available +[here](https://git.icyphox.sh/dotfiles/tree/home/.cwmrc).
M
templates/page.html
→
templates/page.html
@@ -1,54 +1,53 @@
<!DOCTYPE html> <html lang=en> -<head> - <link rel="stylesheet" href="/static/style.css" type="text/css"> - <link rel="alternate" type="application/rss+xml" title="RSS" href="https://icyphox.sh/blog/feed.xml"> - <meta name="description" content="{{ .Fm.Subtitle }}"> - <meta name="viewport" content="initial-scale=1"> - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> - <meta charset="UTF-8"> - <meta name="HandheldFriendly" content="true"> - <meta name="twitter:card" content="summary_large_image"> - <meta name="twitter:site" content="@icyphox"> - <meta name="twitter:title" content="{{ .Fm.Title }}"> - <meta name="twitter:description" content="{{ .Fm.Subtitle }}"> - <meta name="twitter:image" content="/static/icyphox.png"> - <meta property="og:title" content="{{ .Fm.Title }}"> - <meta property="og:type" content="website"> - <meta property="og:description" content="{{ .Fm.Subtitle }}"> - <meta property="og:url" content="https://icyphox.sh"> - <meta property="og:image" content="/static/icyphox.png"> + <head> + <link rel="stylesheet" href="/static/style.css" type="text/css"> + <link rel="alternate" type="application/rss+xml" title="RSS" href="https://icyphox.sh/blog/feed.xml"> + <meta name="description" content="{{ .Fm.Subtitle }}"> + <meta name="viewport" content="initial-scale=1"> + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> + <meta charset="UTF-8"> + <meta name="HandheldFriendly" content="true"> + <meta name="twitter:card" content="summary_large_image"> + <meta name="twitter:site" content="@icyphox"> + <meta name="twitter:title" content="{{ .Fm.Title }}"> + <meta name="twitter:description" content="{{ .Fm.Subtitle }}"> + <meta name="twitter:image" content="/static/icyphox.png"> + <meta property="og:title" content="{{ .Fm.Title }}"> + <meta property="og:type" content="website"> + <meta property="og:description" content="{{ .Fm.Subtitle }}"> + <meta property="og:url" content="https://icyphox.sh"> + <meta property="og:image" content="/static/icyphox.png"> - <link rel="icon" type="image/png" sizes="16x16" href="/favicon.png"> - <meta name="theme-color" content="#ffffff"> -</head> + <link rel="icon" type="image/png" sizes="16x16" href="/favicon.png"> + <meta name="theme-color" content="#ffffff"> + </head> <title> - {{ .Fm.URL }} + {{ .Fm.Title }} </title> - <body> - <section class="container"> + <div class="container"> <div class="pull-left"> <div class="content"> - <header> - {{ .Cfg.Header }} - </header> - <article style="clear: both" align="left"> + <header> + {{ .Cfg.Header }} + </header> + <article align="left"> - <h1>{{ .Fm.Title }}</h1> - <h2 class="subtitle">{{ .Fm.Subtitle }}</h2> - {{ .Fm.Body }} + <h1>{{ .Fm.Title }}</h1> + <h2 class="subtitle">{{ .Fm.Subtitle }}</h2> + {{ .Fm.Body }} - <p class="post-date"> - <em>last updated</em>: {{ .Fm.Date }} - </p> + <section class="post-date"> + <em>last updated</em>: {{ .Fm.Date }} + </section> - </article> + </article> </div> <footer> {{ .Cfg.Footer }} </footer> </div> - </section> + </div> </body> </html>
M
templates/text.html
→
templates/text.html
@@ -1,27 +1,27 @@
<!DOCTYPE html> <html lang=en> -<head> - <link rel="stylesheet" href="/static/style.css" type="text/css"> - <link rel="alternate" type="application/rss+xml" title="RSS" href="https://icyphox.sh/blog/feed.xml"> - <meta name="description" content="{{ .Fm.Subtitle }}"> - <meta name="viewport" content="initial-scale=1"> - <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> - <meta charset="UTF-8"> - <meta name="HandheldFriendly" content="true"> - <meta name="twitter:card" content="summary_large_image"> - <meta name="twitter:site" content="@icyphox"> - <meta name="twitter:title" content="{{ .Fm.Title }}"> - <meta name="twitter:description" content="{{ .Fm.Subtitle }}"> - <meta name="twitter:image" content="/static/icyphox.png"> - <meta property="og:title" content="{{ .Fm.Title }}"> - <meta property="og:type" content="website"> - <meta property="og:description" content="{{ .Fm.Subtitle }}"> - <meta property="og:url" content="https://icyphox.sh"> - <meta property="og:image" content="/static/icyphox.png"> + <head> + <link rel="stylesheet" href="/static/style.css" type="text/css"> + <link rel="alternate" type="application/rss+xml" title="RSS" href="https://icyphox.sh/blog/feed.xml"> + <meta name="description" content="{{ .Fm.Subtitle }}"> + <meta name="viewport" content="initial-scale=1"> + <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> + <meta charset="UTF-8"> + <meta name="HandheldFriendly" content="true"> + <meta name="twitter:card" content="summary_large_image"> + <meta name="twitter:site" content="@icyphox"> + <meta name="twitter:title" content="{{ .Fm.Title }}"> + <meta name="twitter:description" content="{{ .Fm.Subtitle }}"> + <meta name="twitter:image" content="/static/icyphox.png"> + <meta property="og:title" content="{{ .Fm.Title }}"> + <meta property="og:type" content="website"> + <meta property="og:description" content="{{ .Fm.Subtitle }}"> + <meta property="og:url" content="https://icyphox.sh"> + <meta property="og:image" content="/static/icyphox.png"> - <link rel="icon" type="image/png" sizes="16x16" href="/favicon.png"> - <meta name="theme-color" content="#ffffff"> -</head> + <link rel="icon" type="image/png" sizes="16x16" href="/favicon.png"> + <meta name="theme-color" content="#ffffff"> + </head> <title> {{ .Fm.Title }} </title>@@ -32,7 +32,7 @@ <div class="content">
<header> {{ .Cfg.Header }} </header> - <article style="clear: both" align="left"> + <article align="left"> <section class="post-date"> {{ .Fm.Date }} </section>@@ -46,8 +46,8 @@ Send an email to
<a href="mailto:~icyphox/x@lists.sr.ht?Subject=Re: {{ .Fm.Title }}">~icyphox/x@lists.sr.ht</a> — my <a href="https://lists.sr.ht/~icyphox/x">public inbox</a>.</p> </div> <footer> - {{ .Cfg.Footer }} - </footer> + {{ .Cfg.Footer }} + </footer> </div> </div> </body>