This file contains hidden or 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/ksh | |
USAGE="[s:screen][screen:=middle]" | |
STYLUS=$(xsetwacom --list | grep stylus | awk '{print $8}') | |
TOUCH=$(xsetwacom --list | grep touch | awk '{print $8}') | |
ERASER=$(xsetwacom --list | grep eraser | awk '{print $8}') | |
PAD=$(xsetwacom --list | grep pad | awk '{print $8}') | |
# 3 screens 5120x1440 default is the middle one |
This file contains hidden or 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 python | |
import os | |
import fcntl | |
import subprocess | |
import sys | |
# Equivalent of the _IO('U', 20) constant in the linux kernel. | |
USBDEVFS_RESET = ord('U') << (4*2) | 20 |
This file contains hidden or 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
syn keyword cType u_int8_t u_int16_t u_int32_t u_int64_t | |
" unicode operators | |
syn match cppOperator "<=" conceal cchar=≤ | |
syn match cppOperator ">=" conceal cchar=≥ | |
syn match cppOperator "!" conceal cchar=¬ | |
syn match cppOperator "!=" conceal cchar=≠ | |
syn match cppOperator "=" conceal cchar=← | |
syn match cppOperator "==" conceal cchar== | |
syn match cppOperator "\." conceal cchar=· |
This file contains hidden or 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 | |
scrot /tmp/screen.png | |
convert -blur 0x4 /tmp/screen.png /tmp/blur.png | |
rm /tmp/screen.png | |
i3lock -i /tmp/blur.png |
OlderNewer