commit 1d34f84c0fb226d9053513651cffb9a1160b703a
parent 195569fc7d72d7789c58b4e2f4beeea9ff4dbc61
Author: Shipwreckt <shipwreckt@mailfence.com>
Date: Sun, 29 Sep 2024 15:49:53 +0100
Big upgrade on the dwm page and some fixes on BSD page, I have also made a TEMP to use when making new posts
Diffstat:
3 files changed, 62 insertions(+), 8 deletions(-)
diff --git a/public/posts/00dwm b/public/posts/00dwm
@@ -23,15 +23,30 @@
<h2>Switching to DWM</h2>
<h3>Date: 13-7-2024</h3>
<hr>
- <p>It has been a little while since I have updated or added anything to the website, and this is due to the fact that I have been working on my configs, and so far I have them in such a way that I am happy with them. I have also been switching from <a href="https://qtile.org/">Qtile</a> to <a href="https://i3wm.org/">i3</a> to, well, <a href="https://dwm.suckless.org/">Dwm</a> now, which has been fun! The reason why I have switched to DWM is because it is written in C, and as my last article stated, I am currently learning C, so it's a win-win: I get a highly hackable window manager, and I get to learn more about C. I also just like how small it is in size because I have been considering doing a few projects in the future, that being, trying <a href="https://www.freebsd.org/">BSD</a>, <a href="https://www.linuxfromscratch.org/">LFS</a>, and <a href="https://www.gentoo.org/">Gentoo</a>, which DWM works on all of them; since two of them (LFS and Gentoo) require me to compile everything, this has not been the worst decision I have made.</p>
+ <h2>What is DWM?</h2>
+ <img class="right-image" width="170" src="../Images/logos/dwm.png">
+ <p>DWM stands for Dynamic Window Manager. It is a window manager for <a href="https://www.x.org/wiki/">X.org</a>; it was developed by the programmers at <a href="https://dwm.suckless.org/">Suckless Software</a>. DWM is super lightweight, with the entire window manager programmed in about 3,000 lines of C code. Its very minimalistic, allowing users to modify and patch it to their heart's content!</p><hr>
- <p><br>Here is my DWM config on my PC</p>
+ <h2>Why DWM?</h2>
+ <p>The reason why I have chosen DWM as my window manager is because recently I have been on a sort of pilgrimage for the perfect window manager, something lightweight and functionable. I started my window manager pilgrimage with the very user-friendly and configurable Qtile written in Python; I was happy with it. But I felt the urge to explore more into window managers, so from there I tried out I3, another great window manager, and I really enjoyed using it, but I wanted to test out the most lightweight and fastest window manager, being DWM. As of writing, I believe this is the end of my pilgrimage since I am more than happy with DWM.<br><img class="right-image" width="100" src="../Images/logos/freebsd.png"></p>
+ <p>There is also the fact that I want to try out <a href="https://www.linuxfromscratch.org/">Linux from scratch</a>, <a href="https://gentoo.org">Gentoo</a>, and <a href="https://freebsd.org">Freebsd</a> in the future, so having the same window manager throughout using all of these operating systems will just make it easier for me to use the OS.</p>
- <img src="../Images/ricing/DWM/DWM.png" alt="Linux rice" height="450px">
+ <h3>What I like</h3>
+ <ul>
+ <li>Lightweight - I love the fact that DWM is lightweight, as mentioned before it comes in at around 3,000 lines of C code, this means not only is it small in size but compiles faster then something like I3.</li><br>
+ <li>Indipendance - There is a great sense of independence when using DWM because when you modify it, you are modifying the raw code of the program. This does not happen with something like I3, where you are provided a config file in ~/.config to change. Some people might see this as a burden, but I see it as an opportunity to just mess around and improve my programming skills.</li><br>
- <p>So far, I would say DWM is the perfect window manager for me. I do not see myself going back to Qtile or I3 any time soon because DWM has literally everything I would ever need and more, thanks to the amazing patches I am set up with. I have found it quite easy to configure it; it did take a little bit of time to get used to, but the people at Suckless have made it very easy to configure. I don't think I will be adding much to DWM from now on because I have it how I want currently, so I am pretty happy!</p>
+ <li>Enviroment - DWM makes you produce your own work enviroment, this is because unlike something like KDE plasma you are not given a desktop enviroment with all the tools, instead you are given a window manager and a terminal, I only use around GUI programs so making my enviroment was easy as anything and allows me to preform tasks quicker then if I was using KDE Plasma</li>
+ </ul>
+ <hr>
+ <center>
+ <img src="../Images/ricing/DWM/DWM.png" alt="Linux rice" height="450px">
+ <p>Here is my DWM setup on my PC as of 13-7-2024</p>
+ </center>
+ <hr>
- <p><br>That is all for this post thank you for reading, more posts to come!</p>
+ <h2>Overview</h2>
+ <p>I love DWM and I plan to use it for as long as I can, there is a wayland version of DWM called <a href="https://codeberg.org/dwl/dwl">DWL</a> so even if I do switch to wayland I will still be able to use DWM. I am exited to further work on my DWM setup and keep an eye on my <a href="https://gitlab.com/Shipwreckt/Dotfiles">dotfiles</a> for any updates!</p>
<center><hr>
<pre><a href="../index.html">Back 🚪</a> | <a href="tags/Linux">More Linux 🐧</a> | <a href="tags/BSD">More BSD 😈</a> | <a href="tags/Tech">More Tech 🧑💻</a> </pre>
diff --git a/public/posts/02FreeBSD b/public/posts/02FreeBSD
@@ -22,7 +22,7 @@
<main>
<h2>Trying out FreeBSD</h2>
<h3>Date: 22-7-2024</h3><hr>
- <p>Today, I had the pleasure of trying out <a href="https://www.freebsd.org/">FreeBSD</a>, the open source, Unix-like operating system. In this post, I will share my experience with FreeBSD based on my time using it.</p>
+ <p>Today, I had the pleasure of trying out <a href="https://www.freebsd.org/">FreeBSD</a>, the open source, Unix-like operating system. In this post, I will share my experience with FreeBSD based on my time using it.</p><hr>
<h2>Instillation</h2>
<p>Installing FreeBSD is relatively easy; you are provided with a nice graphical interface that supports mouse input. Below is a screenshot.</p>
@@ -31,7 +31,7 @@
<p>I had no issues with the install script. The only problem I encountered was with using <a href="https://www.ventoy.net">Ventoy</a>; for some reason, FreeBSD does not work with Ventoy, so I had to burn it to a standard USB stick.</p>
<p>I downloaded the <a href="https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/14.1/FreeBSD-14.1-RELEASE-amd64-memstick.img">amd64-memstick.img</a> for my installation of FreeBSD.</p>
<p>I encountered some internet issues because my test computer has an unusual Wi-Fi card. I resolved this by plugging in an Ethernet cable and would recommend doing the same for anyone installing FreeBSD or any other operating system for that matter. Using Ethernet makes the setup process so much faster.</p>
- <p>When adding users during the FreeBSD installation, I had to include them in the `wheel` group, which grants them the ability to gain root access.</p>
+ <p>When adding users during the FreeBSD installation, I had to include them in the `wheel` group, which grants them the ability to gain root access.</p><hr>
<h2>Post install</h2>
<p>After installing everything, the first thing I noticed was that most commands in BSD are similar to those in Linux, as both are Unix-like operating systems. Another observation was that the `sudo` command was not available by default. This command allows users to run commands with root privileges, so I had to install it using FreeBSD's package manager, <a href="https://man.freebsd.org/cgi/man.cgi?pkg">PKG</a>. The command to install it is listed below.</p>
@@ -48,7 +48,7 @@
</div>
<p>After updating `sudo`, I was able to use the command. The next step was installing <a href="https://x.org">X.Org</a> and <a href="https://dwm.suckless.org/">dwm</a>. I didn't need a display manager (login prompt) since I could use `startx`, so I focused on installing the X.Org package and `git` to use <a href="https://gitlab.com/Shipwreckt/Dotfiles/-/tree/main/files/config/suckless/dwm?ref_type=heads">my own `dwm` configuration</a> that I uploaded there. I tested X.Org with `startx`, and it worked fine. However, when I cloned my configuration files and tried to compile `dwm`, I encountered a problem. Fortunately, it was an easy fix thanks to a helpful post on the <a href="https://forums.freebsd.org/threads/installing-dwm-manually-vs-pkg.74687/">FreeBSD forums</a>. After applying that fix, I was able to use my `dwm` setup successfully. I then checked if my two most-used programs, <a href="https://alacritty.org/">Alacritty</a> and <a href="https://librewolf.net/">Librewolf</a>, were available on FreeBSD. To my surprise, they were, and both were fully functional. Below is a photo of FreeBSD running with `neofetch` (`fakefetch` only works on Linux).</p>
- <img src="../Images/ricing/BSD/BSDneo.png" alt="BSD with DWM" height="440px">
+ <img src="../Images/ricing/BSD/BSDneo.png" alt="BSD with DWM" height="440px"><hr>
<h2>Conclusion</h2>
<p>Overall, I like FreeBSD and could use it as a daily driver since it supports three of my most-used programs: `git`, `Librewolf`, and `Alacritty`. I appreciate how it works, but for now, I’m sticking with Linux because I am more comfortable with it and prefer Linux over BSD. In the future, I plan to set up a server with <a href="https://www.openbsd.org/">OpenBSD</a>, as I’ve heard excellent things about BSD servers.</p>
diff --git a/public/posts/Temp b/public/posts/Temp
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html lang="en-GB">
+ <head>
+ <meta charset="UTF-8">
+ <meta name="author" content="Shipwreckt">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>CHANGE</title>
+ <link rel="stylesheet" href="../styles.css">
+ <link rel="icon" href="../Images/favi.png" type="image/x-icon">
+ </head>
+ <body>
+ <header>
+ <nav>
+ <ul>
+ <li><a href="../index.html">Home</a></li>
+ <li><a href="../links.html">Links</a></li>
+ <li><a href="../projects.html">Projects</a></li>
+ <li><a href="../contact.html">Contact</a></li>
+ </ul>
+ </nav>
+ </header>
+ <main>
+ <h2>Title</h2>
+ <h3>Date: </h3>
+ <hr>
+ <h2>Introduction</h2>
+ <h2>What is X ?</h2>
+ <h2>Why X ?</h2>
+ <h3>What I like about X</h3>
+ <h3>What I dislike about X</h3>
+ <h2>Overview</h2>
+
+ <center><hr>
+ <pre><a href="../index.html">Back 🚪</a> | <a href="tags/Linux">More Linux 🐧</a> | <a href="tags/BSD">More BSD 😈</a> | <a href="tags/Tech">More Tech 🧑💻</a> </pre>
+ </center>
+ </main>
+ </body>
+</html>
+