From a7da0c5a78f1d57be80359c15e1d215dc497500e Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Sat, 6 Jul 2024 10:14:34 -0400 Subject: Undo lowdown change, kramdown is much more flexible --- .build.yml | 5 ++++- .gitignore | 1 + barf | 2 +- posts/dwm-gnome.md | 23 +++++++++++++---------- 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) +
+ Screenshot of GNOME's Multitasking Settings GUI +
Screenshot of GNOME's Multitasking Settings GUI
+
## 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: 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: switch to workspace
+
-![Screenshot of GNOME's keyboard shortcut GUI](/public/images/gnome-3.png) +
+ Screenshot of GNOME's keyboard shortcut GUI +
Screenshot of GNOME's keyboard shortcut GUI: move window to workspace
+
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-54-g00ecf