Skip to content

Instantly share code, notes, and snippets.

@P-Louw
P-Louw / wacom_one_rotate.sh
Created February 3, 2023 17:37
Rotate wacom tablet, assumes there is just a single tablet connected.
#!/usr/bin/bash
<<COMMENT
Rotate wacom device:
- Date: 2022-09-11
- Device: 'Wacom one M'
- Requires
- xsetwacom
- xrandr
- xinput
@P-Louw
P-Louw / wacom_one_pressure.sh
Created January 12, 2023 20:43
Adjust wacom settings without GUI. This can be done using your distro's GUI (gnome-control-center etc.). But if you need to do it without for some reason these scripts use the official wacom drivers/tool.
#!/bin/bash
<<COMMENT
Setup wacom device:
- Date: 2020-07-11
- Device: 'Wacom one M'
- Dependency:
- xinput
- xsetwacom
@P-Louw
P-Louw / wacom_screen.sh
Created September 11, 2022 21:07
Set wacom devices drawing surface to single monitor.
#!/usr/bin/bash
<<COMMENT
Setup wacom device:
- Date: 2022-09-11
- Device: 'Wacom one M'
- Requires
- xsetwacom
- xrandr
- xinput
@P-Louw
P-Louw / OAuthImplicitDesktop.fsx
Last active February 23, 2022 06:13
OAuth desktop client Implicit token script (Helix/Twitch)
#!/usr/bin/env -S dotnet fsi
open System
open System.IO
open System.Net
open System.Text
open System.Diagnostics
open System.Threading
"""