Skip to content

Instantly share code, notes, and snippets.

@permutationlock
permutationlock / build.zig
Last active March 31, 2024 22:19
Run gdb on test step using build.zig
const std = @import("std");
const builtin = @import("builtin");
const Builder = std.build.Builder;
pub fn build(b: *Builder) !void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{});
const main_tests = b.addTest(.{
.root_source_file = .{ .path = "main.zig" },
@permutationlock
permutationlock / config
Created May 20, 2026 06:10
sway configuration
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
default_border pixel 1
mouse_warping none
### Variables
theme = "onedark"
[editor]
line-number = "relative"
[editor.search]
smart-case = false
[keys.normal]
esc = ["collapse_selection", "keep_primary_selection"]