yd: Use yt-dlp instead of youtube-dl
[sunny256-utils.git] / capsoff
blobcb842924e7a04a0f98c999dddbff38083a2a8ba2
1 #!/bin/sh
3 #==============================================================================
4 # capsoff
5 # File ID: 169c2dd8-deaa-11e9-8bde-4f45262dc9b5
6 # Author: Øyvind A. Holm <sunny@sunbase.org>
7 #==============================================================================
9 progname=capsoff
10 VERSION=0.1.0
12 if test "$1" = "-h" -o "$1" = "--help"; then
13 cat <<END
15 Disable Caps Lock and Num Lock in X.
17 Usage: $progname [-h|--help]
19 Options:
21 -h, --help
22 Show this help.
24 END
25 exit 0
28 setxkbmap -option caps:none
29 xmodmap -e "keycode 77 = "
31 # vim: set ts=8 sw=8 sts=8 noet fo+=w tw=79 fenc=UTF-8 :