Skip to content

Instantly share code, notes, and snippets.

View glenkusuma's full-sized avatar

Glen Kusuma glenkusuma

View GitHub Profile
Basic
=====
[Shift]+[Mod]+[Enter] - launch terminal.
[Mod]+[b] - show/hide bar.
[Mod]+[p] - dmenu for running programs like the x-www-browser.
[Mod]+[Enter] - push acive window from stack to master, or pulls last used window from stack onto master.
[Mod] + [j / k] - focus on next/previous window in current tag.
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active December 4, 2025 20:33
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@zachrank
zachrank / wsl2-zsh-powerlevel10k.md
Created August 8, 2022 01:43
WSL 2 + Windows Terminal + Oh My Zsh + Powerlevel10k

WSL 2 + Windows Terminal + Oh My Zsh + Powerlevel10k

wsl2-zsh-powerlevel10k

This gist takes heavy inspiration from kevin-smets / iterm2-solarized.md gist for iTerm2.

Windows Subsystem for Linux 2 (WSL 2)

The first thing that you will want to do is install WSL 2 and a Linux distro.

@mjnaderi
mjnaderi / install-arch.md
Last active December 2, 2025 12:48 — forked from mattiaslundberg/arch-linux-install
Installing Arch Linux with Full Disk Encryption (LVM on LUKS)

Installing Arch Linux with Full Disk Encryption

If you're aiming for a seamless Arch Linux installation in UEFI mode, follow along as this guide will walk you through the process step by step. We'll be using LUKS (Linux Unified Key Setup) and LVM (Logical Volume Manager) partitions on LUKS to achieve full disk encryption.

Note: I have updated this doc for UEFI mode. For those with BIOS/MBR systems, you can refer to the previous version, but keep in mind that it might be outdated and no longer accurate.

If you're only interested in installing Linux and not setting up dual boot with Windows, feel free to skip the Windows-related sections.

@palopezv
palopezv / dwm_config_pulseaudio.h
Last active November 23, 2025 16:15 — forked from neuro-sys/dwmconfig.h
dwm volume control with hardware multimedia keys (pipewire, pulseaudio, amixer and light as an extra)
/**
* dwmconfig.h
* Hardware multimedia keys
*/
/* Somewhere at the beginning of config.h include: */
/*
You obviously need the X11 development packages installed, X11proto in particular, but
here is the location of the keysyms header upstream copy if you can't bother
using the contents of your own hard drive. ;-P
@glenkusuma
glenkusuma / install-zsh-windows-git-bash.md
Last active November 3, 2025 14:43 — forked from fworks/install-zsh-windows-git-bash.md
Zsh / Oh-my-zsh on Windows Git Bash
@nic0-lab
nic0-lab / dwm_patches_list.md
Created June 29, 2020 18:23
List of dwm patches with the description

This is the list of patches for the dwm window manager from suckless.org, with description for each patch in one page.

activetagindicatorbar

This patch changes the rectangle indicating if a tag is used by a client into a bar above the tag name. Be sure to use a font which leaves enough space between the text of the tag name and the top of the bar.

actualfullscreen

Actually toggle fullscreen for a window, instead of toggling the status bar and the monocle layout.

@Aikufurr
Aikufurr / hibernation.md
Created November 17, 2021 19:07
How to add hibernation to Arch Linux using a swapfile
  1. Run as root
sudo su

  1. Create swap file

Note: set count to your RAM capacity + 2, eg 8GB RAM so count=10

@fworks
fworks / install-zsh-windows-git-bash.md
Last active August 12, 2025 14:25
Zsh / Oh-my-zsh on Windows Git Bash
@tabrindle
tabrindle / webp-convert-directory.sh
Last active August 10, 2025 22:45
Convert all files in directory to webp, with default params, or standard cwebp params passed from command
#!/bin/bash
PARAMS=('-m 6 -q 70 -mt -af -progress')
if [ $# -ne 0 ]; then
PARAMS=$@;
fi
cd $(pwd)