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 first argument should be the tex file, either with or without extension | |
file="$1" | |
[ "${file:0:1}" == "/" ] || file="${PWD}/${file}" | |
pdffile="${file%.tex}.pdf" | |
/usr/bin/osascript << EOF | |
set theFile to POSIX file "${pdffile}" as alias | |
tell application "Skim" |
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
set posix_input to POSIX path of input | |
if application "Terminal" is running then | |
tell application "Terminal" | |
open posix_input | |
activate | |
end tell | |
else | |
tell application "Terminal" | |
if not (exists window 1) then reopen | |
activate |
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
{ | |
"description": "Meine Sonderzeichen", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] |
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
#If GetKeyState("<", "P") | |
<::return | |
7::\ | |
8::[ | |
9::] |
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
keycode 94 = Mode_switch | |
keycode 16 = 7 slash backslash slash braceleft seveneighths braceleft seveneighths | |
keycode 17 = 8 parenleft bracketleft parenleft bracketleft trademark bracketleft trademark | |
keycode 18 = 9 parenright bracketright parenright bracketright plusminus bracketright plusminus | |
keycode 30 = u U less U downarrow uparrow downarrow | |
keycode 43 = h H bar H hstroke Hstroke hstroke Hstroke | |
keycode 31 = i I greater I rightarrow idotless rightarrow idotless | |
keycode 44 = j J braceleft J dead_belowdot dead_abovedot dead_belowdot | |
keycode 45 = k K braceright K ampersand kra ampersand | |
keycode 46 = l L at L lstroke Lstroke lstroke Lstroke |
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
on run {input, parameters} | |
if (count of input) > 0 then | |
repeat with f in input | |
set p to POSIX path of f | |
do shell script "open -a okular -n --args \"" & p & "\"" | |
end repeat | |
else | |
do shell script "open -a okular -n" | |
end if |
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
partial alphanumeric_keys modifier_keys keypad_keys | |
xkb_symbols "de-lsgtmod" { | |
include "latin(type4)" | |
name[Group1]="German (less-than as modifier)"; | |
key.type[Group1] = "EIGHT_LEVEL"; | |
key <TLDE> {[dead_circumflex, degree, U2032, U2033 ]}; // ′ ″ | |
key <AE02> {[ 2, quotedbl, twosuperior, oneeighth ]}; | |
key <AE03> {[ 3, section, threesuperior, sterling ]}; | |
key <AE04> {[ 4, dollar, onequarter, currency ]}; | |
key <AE07> {[ 7, slash, braceleft, seveneighths, backslash, backslash ]}; |