From 6beac7b78bad40cb142f06238a739d32fa8ef6a6 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Sat, 6 Jul 2024 10:23:23 -0400 Subject: Use lowdown, place build directory removal outside of barf script --- Makefile | 1 + barf | 4 +--- posts/dwm-gnome.md | 23 ++++++++++------------- 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". -
- Screenshot of GNOME's Multitasking Settings GUI -
Screenshot of GNOME's Multitasking Settings GUI
-
+*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: 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: `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*". -
- Screenshot of GNOME's keyboard shortcut GUI -
Screenshot of GNOME's keyboard shortcut GUI: switch to workspace
-
+*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*: -
- Screenshot of GNOME's keyboard shortcut GUI -
Screenshot of GNOME's keyboard shortcut GUI: move window to workspace
-
+![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! -- cgit v1.2.3-70-g09d2