Skip to content

Instantly share code, notes, and snippets.

@chgeuer
Last active July 9, 2025 07:58
Show Gist options
  • Save chgeuer/666cf59482881caf7db1b1bda5eb2870 to your computer and use it in GitHub Desktop.
Save chgeuer/666cf59482881caf7db1b1bda5eb2870 to your computer and use it in GitHub Desktop.

Enroll TS3

boltctl enroll --policy=auto --chain cd010000-0070-6d18-234c-b38ed643e102

/boot/loader/entries/linux-ts4.conf

title   Arch Linux (TS3 support)
linux   /vmlinuz-linux
initrd  /initramfs-linux.img
options root=PARTUUID=48251f4e-b938-4661-a335-46759e940ef1 zswap.enabled=0 rw rootfstype=ext4 pci=assign-busses,hpbussize=0x33,realloc,hpmemsize=512M nvme.noacpi=1 usb-storage.delay_use=0 xhci_hcd.quirks=0x200000 usbcore.autosuspend=-1 usbcore.usbfs_memory_mb=2048 thunderbolt.dyndbg=+p usbcore.quirks=0fd9:0079:b,17e9:ff1a:b

~/.config/hypr/monitors.conf

monitor = desc:Samsung Electric Company LC49G95T H4ZR600184, 5120x1440@120, 0x0, 1
monitor = desc:Lenovo Group Limited M14t V30AVFGH, 1920x1080@60, 1600x1440, 1

lsusb

Bus 003 Device 002: ID 3297:1977 ZSA Technology Labs Voyager
Bus 005 Device 002: ID 2188:6533 No brand CalDigit Thunderbolt 3 Audio
Bus 007 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 007 Device 003: ID 19f7:0003 RODE Microphones RODE NT-USB
Bus 007 Device 004: ID 0c76:1700 JMTek, LLC. Fosi Audio MC351
Bus 008 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 008 Device 003: ID 2188:0747 No brand Card Reader
Bus 010 Device 002: ID 0fd9:0079 Elgato Systems GmbH Elgato Facecam Pro
Bus 010 Device 004: ID 17e9:ff1a DisplayLink Elgato Prompter
Bus 011 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 011 Device 003: ID 2d1f:524c Wacom Taiwan Information Co. Ltd. Pen and multitouch sensor
Bus 015 Device 002: ID 0bda:8771 Realtek Semiconductor Corp. Bluetooth Radio
Bus 015 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver

Configure sound inputs and outputs

List sound devices: wpctl status

$ wpctl status --nick

PipeWire 'pipewire-0' [1.4.6, chgeuer@beast, cookie:2988891680]
 └─ Clients:
        32. WirePlumber                         [1.4.6, chgeuer@beast, pid:1311]
        33. pipewire                            [1.4.6, chgeuer@beast, pid:1312]
        46. WirePlumber [export]                [1.4.6, chgeuer@beast, pid:1311]

Audio
 ├─ Devices:
 │      47. AD102 High Definition Audio Controller [alsa]
 │      48. HD-Audio Generic                    [alsa]
 │      49. CalDigit Thunderbolt 3 Audio        [alsa]
 │      50. RODE NT-USB                         [alsa]
 │      51. Fosi Audio MC351                    [alsa]
 │
 ├─ Sinks:
 │      34. CalDigit Thunderbolt 3 Audio Analog Stereo [vol: 0.40]
 │  *   42. Fosi Audio MC351 Analog Stereo      [vol: 0.45]
 │      43. RODE NT-USB Analog Stereo           [vol: 0.40]
 │      63. AD102 High Definition Audio Controller Digital Stereo (HDMI) [vol: 0.80]
 │
 ├─ Sources:
 │  *   44. RODE NT-USB Analog Stereo           [vol: 1.00]
 │      45. CalDigit Thunderbolt 3 Audio Analog Stereo [vol: 1.00]
 │      61. Fosi Audio MC351 Mono               [vol: 1.00]
 │
 ├─ Filters:
 │
 └─ Streams:

Video
 ├─ Devices:
 │      55. Elgato Facecam Pro                  [v4l2]
 │      56. Elgato Facecam Pro                  [v4l2]
 │
 ├─ Sinks:
 │
 └─ Sources:
    *   60. Elgato Facecam Pro (V4L2)
 
 Settings
 └─ Default Configured Devices:
         0. Audio/Sink    alsa_output.usb-0c76_Fosi_Audio_MC351-00.analog-stereo
         1. Audio/Source  alsa_input.usb-RODE_Microphones_RODE_NT-USB-00.analog-stereo
         2. Video/Source  v4l2_input.pci-0000_5a_00.0-usb-0_2_1.0

Set defaults

wpctl set-default 42
wpctl set-default 44
wpctl set-default 60

Configure monitors for Hyprland

 # See https://wiki.hyprland.org/Configuring/Monitors/

monitor = desc:Samsung Electric Company LC49G95T H4ZR600184, 5120x1440@120, 0x0, 1

$lenovo = desc:Lenovo Group Limited M14t V30AVFGH
monitor = $lenovo, 1920x1080@60, 1600x1440, 1

# monitor = DP-1, disable

# https://claude.ai/chat/e96c3737-4b44-4948-98fd-9f9d813b475e
# monitor = desc:IDI Elgato Prom. 0x01348D27, [email protected], 5120x840, 1, transform, 2
monitor = desc:IDI Elgato Prom. 0x01348D27, [email protected], 5120x840, 1
# monitor = DVI-I-1, [email protected], 5120x840, 1, transform, 2

... and configure touch on the M14t to only apply there

# Map all Wacom touch devices to the Lenovo M14t monitor
$lenovo = desc:Lenovo Group Limited M14t V30AVFGH

device {
    name = wacom-co.,ltd.-pen-and-multitouch-sensor-unknown
    output = $lenovo
}
device {
    name = wacom-co.,ltd.-pen-and-multitouch-sensor
    output = $lenovo
}
device {
    name = wacom-co.,ltd.-pen-and-multitouch-sensor-1
    output = $lenovo
}
device {
    name = wacom-co.,ltd.-pen-and-multitouch-sensor-mouse
    output = $lenovo
}
device {
    name = wacom-co.,ltd.-pen-and-multitouch-sensor-stylus
    output = $lenovo
}

Install stuff

Installed via pacman: (pacman -Qn)

sudo pacman -S bolt inotify-tools bat tmux zellij curl wget git erlang obs-studio obsidian bitwarden gvim

Installed via yay: (pacman -Qm)

yay -S displaylink evdi logseq-desktop ndi-sdk spotify typora watchman-bin

VS Code settings.json

{
    "editor.mouseWheelZoom": true,
    "terminal.integrated.mouseWheelZoom": true,
    "editor.fontFamily": "Berkeley Mono",
    "editor.fontLigatures": true,
    "editor.fontSize": 14,
    "editor.renderWhitespace": "all",
}

Ghostty (~/.config/ghostty/config)

font-size = 20
# copy-on-select = clipboard

# gtk-titlebar = true
# theme = "Monokai Vidid"
background = 000000
background-opacity = 0.6
background-blur = false
confirm-close-surface = false
shell-integration-features = no-cursor,no-sudo,no-title
focus-follows-mouse = true

Web Apps

# Icons from https://dashboardicons.com/icons
# https://manuals.omamix.org/2/the-omarchy-manual/58/shell-functions

web2app-remove "Google Photos"
web2app-remove Hey

web2app Github    https://github.com/chgeuer?tab=repositories     https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/github.svg
web2app GMail     https://mail.google.com/mail/u/0/#inbox         https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/gmail.svg
web2app Amazon    https://www.amazon.de/                          https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/amazon.svg
web2app Unifi     https://192.168.1.1/network/default/dashboard   https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/unifi.svg
web2app Calendar  https://calendar.google.com/calendar/u/0/r      https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/google-calendar.svg
web2app Claude.ai https://claude.ai/                              https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/claude-ai-light.svg
web2app Maps      https://www.google.com/maps/                    https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/google-maps.svg
web2app OneDrive  https://onedrive.live.com/?view=1&username=christian%40geuer%2Dpollmann%2Ede https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/microsoft-onedrive.svg
web2app Office    https://www.office.com/                         https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/office-365.svg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment