addy-dclxvi / debian-bspwm-dotfiles

My personal backup of my Debian 11 (Bullseye) Bspwm configurations including the documentation about how to recreate my setup
80 stars 7 forks source link
bspwm debian dotfiles rice

Dotfiles

Introduction

A repository contains backups of my Debian configurations to make myself easier to recreate my setup on a new OS install.

Software I use

Simple configuration with only 11 lines of bspc config and 24 lines of window rules. And I try to make my Bspwm setup comfortably usable on both keyboard and mouse.

Clean sample without any window opened.

Dirty sample with some windows opened. Not good for hiding sensitive image or video.

I have tried to use pure ALSA without PulseAudio, but it made my life harder. When I attached my headphone, the speaker was still on. I needed to turn the speaker off manually from alsamixer command. Better to use PulseAudio to make my life easier.

I have written an article about fish here

Highlight feature in Ranger

Tinkering with Ranger colorscheme

I use Caca as terminal image previewer in Ranger. That's a photo of me and my friends at Mount Bromo, East Java.

I'm not a programmer. So my Neovim configuration is pretty simple, centralized in ~/.config/nvim/init.vim. Not many plugins installed. Only statusline, syntax checker, auto completion, and hex code colorizer. I save a copy of the plugins in this repository to make me easier recreating this setup on a freshly installed machine. They are placed in ~/.config/nvim/ and ~/.local/share/nvim/.

My keymap is uncommon for Neovim. I map Ctrl + Space for next auto completion, Ctrl + Backspace delete per word. Ctrl + S save. Ctrl + Z undo. Ctrl + Y redo. Ctrl + Arrows jump. And many others. Because if the default vim keybinding mapped permanently in my fingers, it makes me hard to survive in non-vi style apps. Once I tried to navigate a Spreadseet using H-J-K-L and tried to quit Writer by typing :wq .

I set the PrtSc key to take screenshot using scrot, then instantly preview the result using default image viewer. So I can hit the delete button in my keyboard if unsatisfied with the result. Or, right click on the image then select open with GIMP, to instantly edit it using GIMP without opening the file manager.

Tree/Library Mode (Num 1)

Playlist Mode (Num 2)

File Browser Mode (Num 5)

Cmus is a also good for online radio stream. The artist and song title is displayed correctly. And the buffer is very stable. I save a copy of online radio stream files in this repository, in ~/Music folder.

Why don't you use Spotify like normal people do?

Because Spotify recommendation playlist is not designed for Progressive / Extreme / Technical Death Metal fans. Listening radio is better for music discovery. I can find many underrated artists and songs from radio.

Gentlemen, welcome to Arch Club. The first rule of Arch Club is you tell everyone you use Arch. The second rule of Arch Club is YOU HAVE TO TELL EVERYONE you use Arch!! Third rule of Arch Club, Someone yells "Install Gentoo!", goes limp, taps out, the install is over. Fourth rule, only one guy to an install. Fifth rule, one install at a time, fellas. Sixth rule, No YouTube tutorial, no blogger tutorial. Seventh rule, install will go on as long as they have to. And the eighth and final rule, If this is your first night at Arch Club, you have to install Arch!

Steins;Gate

Suckseed

MPV can stream URL too. In example above, I stream a YouTube video from Kurzgesagt channel.

I prefer to use a light GTK theme. Even if I use a dark GTK theme, the GIMP canvas, Libreoffice paper, ebook background, will be still white. The internet is also white. Causing my eyes to work harder. So better to use a light theme for GTK for a better readability.

Usually I use Thunar. But after Thunar migrated to GTK3, I feel it heavier. I tried PCManFM and SpaceFM but did not feel comfortable. So I try Nautilus, and it actually not heavy if it runs without GNOME. And with --no-install-recommends flag when installing, It only pulls a small amount of GNOME dependencies. Just like Thunar pulls some XFCE dependencies. Also, I have pulled other component of GNOME Desktop, like Evince, File Roller, GVFS, Pavucontrol, and GNOME Polkit anyway. Utilization of shared dependencies will make my setup has a smaller footprint.

I choose Evince because it has DJVU support out the box. I can use it as ebook reader.

The Murder of Roger Ackroyd by Agatha Christie is one of the best book I ever read. I still can't believe the ending. It can't be possible. I have been tricked for 26 chapters.

Nothing special here. Default config.

JoJo's Part IV: Debian is Unbreakable

When you are so overpowered. You forget that you are no longer the main protagonist in this part, and keep beating the main villain.

Unfortunately, Python 2 Support has been dropped in Debian 11. My GIMP scripts collection mostly no longer works.

How I Set Up Debian Part I : Debian Expert Installer

  1. I use Debian Minimal CD (377MB) without any Desktop Environment.
  2. Burn it to USB like usual and boot it.
  3. I use Expert Install instead of normal installer for some reason.
  1. The Debian expert installer is very intuitive and easy to follow (by Linux standard). Just follow the steps appear on the screen.
  2. After the installation is finised, detach the USB installer, then reboot. It will be boot faster than Arch base installation. And even faster than Alpine. Unsure about Void, the last time I use Void, I was still on 5400 RPM HDD.

How I Set Up Debian Part II: Get Everything Back

  1. Edit the /etc/apt/sources.list to enable the online repository.

    deb http://deb.debian.org/debian bullseye main contrib non-free
    deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free
    deb http://deb.debian.org/debian bullseye-updates main contrib non-free

    I don't enable translations and deb-src to make APT works faster.

  2. Connect to the internet. Since I have not installed the wifi driver. The easiest way to connect to the internet is by using my phone in USB Tethering mode. Attach the phone then sudo dhclient usb0. usb0 is my USB interface, can be found using ip a command.

  3. sudo apt update && sudo apt upgrade

  4. sudo apt install git ca-certificates --no-install-recommends

  5. Clone this git repository git clone --depth=1 https://github.com/addy-dclxvi/debian-bspwm-dotfiles

  6. Deploy the dotfiles cp -r debian-bspwm-dotfiles/. ~

  7. Get back the packages sudo sh ~/.local/bin/packages Every packages I use are available in the repository. No need self compiling.

  8. Reboot and fix some problems.

How I Set Up Debian Part III: Extra Steps

Notes

My 9 years old ThinkPad X230 still works pretty well with Debian.

Keybinds

I use mouse a lot. So, I try to make my configurations comfortable to use on both mouse and keyboard. And I try to make the essential keybinds can be used using left hand only, but still easy to memorize.

Credits