Skip to content

Instantly share code, notes, and snippets.

View sakhmatd's full-sized avatar

Sergei Akhmatdinov sakhmatd

View GitHub Profile
@sakhmatd
sakhmatd / mapper-0.74-3.map
Created February 13, 2023 17:46
Colemak keymap for DOSBox, put this file to %LOCALAPPDATA%\DOSBox on Windows or ~/.dosbox on Linux/BSD, note that Backspace and Caps are swapped, cannot have both as the same key.
hand_shutdown "key 290 mod1"
hand_capmouse "key 291 mod1"
hand_fullscr "key 13 mod2"
hand_pause "key 19 mod2"
hand_mapper "key 282 mod1"
hand_speedlock "key 293 mod2"
hand_recwave "key 287 mod1"
hand_caprawmidi "key 289 mod1 mod2"
hand_scrshot "key 286 mod1"
hand_video "key 286 mod1 mod2"
@sakhmatd
sakhmatd / dunstBright.sh
Created May 24, 2021 09:59
Use brightnessctl and dunst to create a brightness indicator for DE-less setups
#!/bin/bash
# dunstBright
msgId="3378455"
brightnessctl "$@" > /dev/null
brightnow="$(brightnessctl g)"
brightmax="$(brightnessctl m)"
@sakhmatd
sakhmatd / dunstMixer.sh
Created May 24, 2021 09:58
Use pamixer and dunst to create a volume indicator for DE-less setups
#!/bin/bash
# dunstMixer
msgId="3378423"
pamixer "$@" > /dev/null
volume="$(pamixer --get-volume)"
mute="$(pamixer --get-mute)"

Keybase proof

I hereby claim:

  • I am sakhmatd on github.
  • I am sakhmatd (https://keybase.io/sakhmatd) on keybase.
  • I have a public key whose fingerprint is 4B8F F0DF 9933 8EA2 2761 851D 9345 DB3E 83BA C64A

To claim this, I am signing this object: