View rus
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
/////////////////////////// | |
// Custom Russian Layout // | |
/////////////////////////// | |
xkb_symbols "twunicode" | |
{ | |
name[Group1] = "Russia (twunicode)"; | |
key <AB01> { [ Cyrillic_ya, Cyrillic_YA, U0467, U0466 ] }; // я Я ѧ Ѧ | |
key <AB02> { [ Cyrillic_che, Cyrillic_CHE, Serbian_tshe, Serbian_TSHE ] }; // ч Ч ћ Ћ | |
key <AB03> { [ Cyrillic_es, Cyrillic_ES, copyright ] }; // с С © |
View uk
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
////////////////////////////// | |
// Custom Ukrainian Layout // | |
///////////////////////////// | |
partial alphanumeric_keys | |
xkb_symbols "twunicode" | |
{ | |
name[Group1] = "Ukraine (twunicode)"; | |
include "level3(ralt_switch)" | |
key <AB01> { [ Cyrillic_ya, Cyrillic_YA ] }; // я Я |
View customXkbLayout
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 | |
###################################################### | |
# In order to use custom xkb layout, create a folder | |
# under your $HOME (.xkb, for instance), and place | |
# layouts file there (in this script uk and rus | |
# are layout files, they need to go to .xkb/symbols). | |
# This directory will be searched by xkbcomp. | |
# No need to store custom layouts under /usr/share/X11 | |
###################################################### |
View activate_source_text.groovy
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
/* :name=Activate source text :description=Activate source text on the Editor with keyboard shortcut | |
* | |
* The workaround by script for RFE #821: | |
* Showing cursor on the original segment | |
* http://sourceforge.net/p/omegat/feature-requests/821/ | |
* | |
* @author Yu Tang | |
* @author Kos Ivantsov | |
* @date 2019-10-25 | |
* @version 1.1.3 |
View playerctrl
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 | |
case $1 in | |
"help"|"-h"|"?"|"-?") | |
echo -e "Usage: | |
$(basename $0) help | |
show this help | |
$(basename $0) up | |
volume up by 5% | |
$(basename $0) down |