Skip to content

Instantly share code, notes, and snippets.

View 0snap's full-sized avatar
🌎
no office, no borders

Felix 0snap

🌎
no office, no borders
View GitHub Profile
0xF65C2066917275e92389a7ADD9c533a0E39B43A8
0x48ACBFf958Af763161f9759FAd1EC8f48AD09af6
@0snap
0snap / volume.sh
Created November 9, 2019 11:14
PulseAudio Volume Controller with Sink Selection
#!/bin/sh
# This script determines the currently active pulse audio sink.
# That makes it possible to use the function keys,
# regardless if you are listening via bluetooth, cable, or local speakers.
# Uncomment and add the following to your `.config/i3/config` to bind volume keys (X window)
## bind function keys (fn)
#bindsym XF86AudioRaiseVolume exec --no-startup-id /opt/custom-scripts/volume up
@0snap
0snap / post-install-arch-linux-setup.md
Last active January 14, 2024 22:40
Post-Installation Cheat Sheet for Arch Linux

Post-Installation Cheat Sheet for Arch Linux

This guide uses yay as the preferred AUR helper of choice.

Troubleshoot initial 'I have no Internet problems'

In case you did a fresh install and are now missing packages, yet cannot connect to the internet, simply boot via live-iso and arch-chroot into your system.

$ cryptsetup luksOpen /dev/nvme0n1p2 cryptroot      # only relevant in case of encrypted partition

$ mount /dev/mapper/cryptroot /mnt

@0snap
0snap / polybar.config
Created October 25, 2019 14:03
Polybar Configuration File
[bar/fixelbar]
monitor = ${env:MONITOR:eDP1}
width = 100%
height = 27
radius = 0
fixed-center = false
background = #1c1c22
@0snap
0snap / .Xresources
Created October 24, 2019 14:54
My ~/.Xresources for URXVT
! special
*.foreground: #f9f9f9
*.background: #1d1f21
*.cursorColor: #f9f9f9
! black
*.color0: #282a2e
*.color8: #373b41
! red
@0snap
0snap / arch-linux-plain-dmcrypt-setup.md
Last active October 24, 2019 13:06
Setup Arch Linux with Simple DM-Crypt + LUKS on EFI Board with SSD