aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-06 10:14:34 -0400
committerBradley Taunt <bt@btxx.org>2024-07-06 10:14:34 -0400
commita7da0c5a78f1d57be80359c15e1d215dc497500e (patch)
treedb30313e5cd51988af36e480077e6456b8590b62
parentf95236fda7df4ff920101028b8efc4f5ebf4c1ab (diff)
Undo lowdown change, kramdown is much more flexible
-rw-r--r--.build.yml5
-rw-r--r--.gitignore1
-rwxr-xr-xbarf2
-rw-r--r--posts/dwm-gnome.md23
4 files changed, 19 insertions, 12 deletions
diff --git a/.build.yml b/.build.yml
index 9a6fa01..47692e9 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,9 +1,10 @@
image: alpine/latest
oauth: pages.sr.ht/PAGES:RW
packages:
+- ruby-full
+- ruby-dev
- rsync
- coreutils
-- lowdown
- go
- hut
environment:
@@ -11,6 +12,8 @@ site: bt.srht.site
sources:
- https://git.sr.ht/~bt/btxx.org
tasks:
+- install-kramdown: |
+ sudo gem install kramdown
- build: |
cd btxx.org
make build
diff --git a/.gitignore b/.gitignore
index 567609b..90094fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
build/
+.ruby-version
diff --git a/barf b/barf
index 1887bc6..045596b 100755
--- a/barf
+++ b/barf
@@ -15,7 +15,7 @@ elif [ "$os_name" = "Darwin" ]; then
fi
set -eu
-MARKDOWN=lowdown
+MARKDOWN=kramdown
IFS=' '
# Create tab-separated file with filename, title, creation date, last update
diff --git a/posts/dwm-gnome.md b/posts/dwm-gnome.md
index fc9929f..7b5ecee 100644
--- a/posts/dwm-gnome.md
+++ b/posts/dwm-gnome.md
@@ -10,23 +10,26 @@ 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".
-*Screenshot of GNOME's Multitasking Settings GUI*:
-
-![Screenshot of GNOME's Multitasking Settings GUI](/public/images/gnome-1.png)
+<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>
## Setting Our Keybindings
-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**.
+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**.
You'll want to make edits to both the "Switch to workspace *n*" and "Move window to workspace *n*".
-*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-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](/public/images/gnome-3.png)
+<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>
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!