aboutsummaryrefslogtreecommitdiff
path: root/build/dwm-gnome/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'build/dwm-gnome/index.html')
-rw-r--r--build/dwm-gnome/index.html59
1 files changed, 59 insertions, 0 deletions
diff --git a/build/dwm-gnome/index.html b/build/dwm-gnome/index.html
new file mode 100644
index 0000000..8668e33
--- /dev/null
+++ b/build/dwm-gnome/index.html
@@ -0,0 +1,59 @@
+<!doctype html>
+<html lang="en" id="top">
+<head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="icon" href="data:,">
+ <title>Bringing dwm Shortcuts to GNOME</title>
+ <link href="https://bt.ht/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" />
+ <style>*{box-sizing:border-box;}body{font-family:sans-serif;margin:0 auto;max-width:650px;padding:1rem;}img{max-width:100%;}pre{overflow:auto;}table{text-align:left;width:100%;}</style>
+</head>
+
+<nav>
+ <a href="#menu">Menu &darr;</a>
+</nav>
+
+<main>
+<h1>Bringing dwm Shortcuts to GNOME</h1>
+<p>2023-11-02</p>
+<p>The <code>dwm</code> window manager is my standard "go-to" for most of my personal laptop environments. For desktops with larger, higher resolution monitors I tend to lean towards using GNOME. The GNOME DE is fairly solid for my own purposes. This article isn't going to deep dive into GNOME itself, but instead highlight some minor configuration changes I make to mimic a few <code>dwm</code> shortcuts.</p>
+<p>For reference, I'm running GNOME 45.0 on Ubuntu 23.10</p>
+<h2>Setting Up Fixed Workspaces</h2>
+<p>When I use <code>dwm</code> I tend to have a hard-set amount of <code>tags</code> 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 <code>fixed</code>. We can achieve this by opening <strong>Settings</strong> &gt; <strong>Multitasking</strong> and selecting "Fixed number of workspaces".</p>
+<p><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></p>
+<h2>Setting Our Keybindings</h2>
+<p>Now all that is left is to mimic <code>dwm</code> 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 <strong>Settings</strong> &gt; <strong>Keyboard</strong> &gt; <strong>View and Customize Shortcuts</strong> &gt; <strong>Navigation</strong>.</p>
+<p>You'll want to make edits to both the "Switch to workspace <em>n</em>" and "Move window to workspace <em>n</em>". </p>
+<p><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></p>
+<p><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></p>
+<p>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!</p>
+<footer role="contentinfo">
+ <h2>Menu Navigation</h2>
+ <ul id="menu">
+ <li><a href="/">Home</a></li>
+ <li><a href="/projects">Projects</a></li>
+ <li><a href="/uses">Uses</a></li>
+ <li><a href="/wiki">Wiki</a></li>
+ <li><a href="/resume">Resume</a></li>
+ <li><a href="/colophon">Colophon</a></li>
+ <li><a href="/now">Now</a></li>
+ <li><a href="/donate">Donate</a></li>
+ <li><a href="/atom.xml">RSS</a></li>
+ <li><a href="#top">&uarr; Top of the page</a></li>
+ </ul>
+ <small>
+ Built with <a href="https://git.sr.ht/~bt/barf">barf</a>. <br>
+ Maintained with ♥ for the web. <br>
+ Proud supporter of <a href="https://usefathom.com/ref/DKHJVX">Fathom</a> &amp; <a href="https://nextdns.io/?from=74d3p3h8">NextDNS</a>. <br>
+ The content for this site is <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>.<br> The <a href="https://git.sr.ht/~bt/bt.ht">code for this site</a> is <a href="https://git.sr.ht/~bt/bt.ht/tree/master/item/LICENSE">MIT</a>.
+ </small>
+</footer> \ No newline at end of file