aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rwxr-xr-xbarf4
-rw-r--r--posts/dwm-gnome.md23
3 files changed, 12 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 118e9e6..4ca34c8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
build:
+ rm -rf build && mkdir build
sh ./barf
rsync -r public/ build/public
rsync style.css build/style.css
diff --git a/barf b/barf
index 045596b..5312a07 100755
--- a/barf
+++ b/barf
@@ -15,7 +15,7 @@ elif [ "$os_name" = "Darwin" ]; then
fi
set -eu
-MARKDOWN=kramdown
+MARKDOWN=lowdown
IFS=' '
# Create tab-separated file with filename, title, creation date, last update
@@ -146,8 +146,6 @@ write_page() {
> "$target" && cat footer.html >> "$target"
}
-rm -rf build && mkdir build
-
# Blog posts
index_tsv posts | sort -rt " " -k 3 > build/posts.tsv
index_html build/posts.tsv > build/index.html
diff --git a/posts/dwm-gnome.md b/posts/dwm-gnome.md
index 7b5ecee..fc9929f 100644
--- a/posts/dwm-gnome.md
+++ b/posts/dwm-gnome.md
@@ -10,26 +10,23 @@ For reference, I'm running GNOME 45.0 on Ubuntu 23.10
When I use `dwm` I tend to have a hard-set amount of `tags` to cycle through (normally 4-5). Unfortunately, dynamic rendering is the default for workspaces (ie. tags) in GNOME. For my personal preference I set this setting to `fixed`. We can achieve this by opening **Settings** > **Multitasking** and selecting "Fixed number of workspaces".
-<figure>
- <img src="/public/images/gnome-1.png" alt="Screenshot of GNOME's Multitasking Settings GUI">
- <figcaption>Screenshot of GNOME's Multitasking Settings GUI</figcaption>
-</figure>
+*Screenshot of GNOME's Multitasking Settings GUI*:
+
+![Screenshot of GNOME's Multitasking Settings GUI](/public/images/gnome-1.png)
## Setting Our Keybindings
-Now all that is left is to mimic `dwm` keyboard shortcuts, in this case: <kbd>ALT</kbd> + <kbd>$num</kbd> for switching between workspaces and <kbd>ALT</kbd> + <kbd>SHIFT</kbd> + <kbd>$num</kbd> for moving windows across workspaces. These keyboard shortcuts can be altered under **Settings** > **Keyboard** > **View and Customize Shortcuts** > **Navigation**.
+Now all that is left is to mimic `dwm` keyboard shortcuts, in this case: `ALT` + `$num` for switching between workspaces and `ALT` + `SHIFT` + `$num` for moving windows across workspaces. These keyboard shortcuts can be altered under **Settings** > **Keyboard** > **View and Customize Shortcuts** > **Navigation**.
You'll want to make edits to both the "Switch to workspace *n*" and "Move window to workspace *n*".
-<figure>
- <img src="/public/images/gnome-2.png" alt="Screenshot of GNOME's keyboard shortcut GUI">
- <figcaption>Screenshot of GNOME's keyboard shortcut GUI: switch to workspace</figcaption>
-</figure>
+*Screenshot of GNOME's keyboard shortcut GUI: switch to workspace*:
+
+![Screenshot of GNOME's keyboard shortcut GUI](/public/images/gnome-2.png)
+
+*Screenshot of GNOME's keyboard shortcut GUI: move window to workspace*:
-<figure>
- <img src="/public/images/gnome-3.png" alt="Screenshot of GNOME's keyboard shortcut GUI">
- <figcaption>Screenshot of GNOME's keyboard shortcut GUI: move window to workspace</figcaption>
-</figure>
+![Screenshot of GNOME's keyboard shortcut GUI](/public/images/gnome-3.png)
That's it. You're free to include even more custom keyboard shortcuts (open web browser, lock screen, hibernate, etc.) but this is a solid starting point. Enjoy tweaking GNOME!