Skip to content

Instantly share code, notes, and snippets.

View jkin0's full-sized avatar

Joshua Kinder jkin0

View GitHub Profile
@jkin0
jkin0 / Makefile
Created August 26, 2023 15:15
The perfect C Makefile script.
CC = gcc
CFLAGS = -Wall -Wextra -std=c18 -g
SRC_DIR = src
BUILD_DIR = build
EXE = exe
SRCS = $(wildcard $(SRC_DIR)/*.c)
OBJS = $(patsubst $(SRC_DIR)/%.c, $(BUILD_DIR)/%.o, $(SRCS))
@jkin0
jkin0 / i3-cheat-sheet.md
Created August 8, 2023 10:31 — forked from JeffPaine/i3-cheat-sheet.md
i3 Window Manager Cheat Sheet

i3 Window Manager Cheat Sheet

$mod refers to the modifier key (alt by default)

General

  • startx i3 start i3 from command line
  • $mod+<Enter> open a terminal
  • $mod+d open dmenu (text based program launcher)
  • $mod+r resize mode ( or to leave resize mode)
  • $mod+shift+e exit i3