This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# The micmute (Fn+F4) button of the Thinkpad Compact USB Keyboard | |
# doesn't work out of the box as its keycode (248) is outside the | |
# range of the X server, therefore it is not recognizable with xev. | |
# | |
# This script enables the button by connecting to the acpid socket | |
# to catch the acpi event and then simulate the keypress on the X server. | |
# | |
# With this running at startup, we don't need to toggle the mic with |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"0": "unset", | |
"1": "unset", | |
"2": "unset", | |
"3": "unset", | |
"4": "unset", | |
"5": "unset", | |
"6": "unset", | |
"7": "unset", | |
"8": "unset", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoTrayIcon | |
#SingleInstance Force | |
; | |
; This scripts toggles between states raised and hidden of a Windows Terminal, | |
; or opens a new one if not opened, using `Super + T` or `Super + Enter` | |
; | |
; Supports multiple workspaces or virtual desktops. | |
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Generate unix timestamps in milliseconds | |
# ./unix-timestamp-generator.sh <seconds> > timestamps.log | |
run_during_seconds=${1:-2} | |
end_time=$(( SECONDS + run_during_seconds )) | |
while [ $SECONDS -lt $end_time ]; do | |
/usr/bin/env date +%s%3N |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NoTrayIcon | |
#SingleInstance Force | |
CoordMode, Mouse, Screen | |
; Autohotkey script to move the cursor from the left to the right monitor and viceversa | |
; Currently hardcoded | |
LeftMonitorWidth = 1920 | |
LeftMonitorHeight = 1080 |