Compare commits

...

1 Commits
1.2-9 ... debug

Author SHA1 Message Date
Ben Reaves
5a373c0ede Debug purposes 2021-02-17 23:31:50 -06:00
2 changed files with 8 additions and 17 deletions

View File

@@ -204,7 +204,7 @@ define_keymap(re.compile("^jetbrains-(?!.*toolbox).*$", re.IGNORECASE),{
# VCS/Local History # VCS/Local History
K("Super-v"): K("M-Grave"), # VCS quick popup K("Super-v"): K("M-Grave"), # VCS quick popup
K("Super-c"): K("LC-c"), # Sigints - interrupt K("Super-c"): K("LC-c"), # Sigints - interrupt
}) },"JetBrains Products")
# Keybindings for Nautilus # Keybindings for Nautilus
define_keymap(re.compile("org.gnome.nautilus", re.IGNORECASE),{ define_keymap(re.compile("org.gnome.nautilus", re.IGNORECASE),{
@@ -212,7 +212,7 @@ define_keymap(re.compile("org.gnome.nautilus", re.IGNORECASE),{
K("RC-Down"): K("M-Down"), # Go Down dir K("RC-Down"): K("M-Down"), # Go Down dir
K("RC-Left"): K("M-Left"), # Go Back K("RC-Left"): K("M-Left"), # Go Back
K("RC-Right"): K("M-Right"), # Go Forward K("RC-Right"): K("M-Right"), # Go Forward
}) },"Nautilus")
# Keybindings for Browsers # Keybindings for Browsers
define_keymap(re.compile(browserStr, re.IGNORECASE),{ define_keymap(re.compile(browserStr, re.IGNORECASE),{
@@ -228,15 +228,15 @@ define_keymap(re.compile(browserStr, re.IGNORECASE),{
K("RC-Key_7"): K("M-Key_7"), K("RC-Key_7"): K("M-Key_7"),
K("RC-Key_8"): K("M-Key_8"), K("RC-Key_8"): K("M-Key_8"),
K("RC-Key_9"): K("M-Key_9"), # Jump to last tab K("RC-Key_9"): K("M-Key_9"), # Jump to last tab
}) },"General Web Browsers")
# Open preferences in browsers # Open preferences in browsers
define_keymap(re.compile("Firefox", re.IGNORECASE),{ define_keymap(re.compile("Firefox", re.IGNORECASE),{
K("C-comma"): [K("C-T"),K("a"),K("b"),K("o"),K("u"),K("t"),K("Shift-SEMICOLON"),K("p"),K("r"),K("e"),K("f"),K("e"),K("r"),K("e"),K("n"),K("c"),K("e"),K("s"),K("Enter")], K("C-comma"): [K("C-T"),K("a"),K("b"),K("o"),K("u"),K("t"),K("Shift-SEMICOLON"),K("p"),K("r"),K("e"),K("f"),K("e"),K("r"),K("e"),K("n"),K("c"),K("e"),K("s"),K("Enter")],
}) },"Firefox")
define_keymap(re.compile(chromeStr, re.IGNORECASE),{ define_keymap(re.compile(chromeStr, re.IGNORECASE),{
K("C-comma"): [K("M-e"), K("s"),K("Enter")], K("C-comma"): [K("M-e"), K("s"),K("Enter")],
}) },"Chrome Based Web Browsers")
# Opera C-F12 # Opera C-F12
# None referenced here originally # None referenced here originally
@@ -314,7 +314,7 @@ define_keymap(lambda wm_class: wm_class.casefold() not in remotes,{
K("Alt-Delete"): K("C-Delete"), # Default not-chromebook - Delete Right Word of Cursor K("Alt-Delete"): K("C-Delete"), # Default not-chromebook - Delete Right Word of Cursor
# K(""): pass_through_key, # cancel # K(""): pass_through_key, # cancel
# K(""): K(""), # # K(""): K(""), #
}) },"General GUI Apps")
define_keymap(lambda wm_class: wm_class.casefold() not in mscodes,{ define_keymap(lambda wm_class: wm_class.casefold() not in mscodes,{
# Wordwise remaining - for Everything but VS Code # Wordwise remaining - for Everything but VS Code
@@ -337,7 +337,7 @@ define_keymap(lambda wm_class: wm_class.casefold() not in mscodes,{
# https://superuser.com/questions/770301/pentadactyl-how-to-disable-menu-bar-toggle-by-alt # https://superuser.com/questions/770301/pentadactyl-how-to-disable-menu-bar-toggle-by-alt
# ** # **
# #
}) }, "wordwise for GUI apps")
# Keybindings for VS Code # Keybindings for VS Code
define_keymap(re.compile(codeStr, re.IGNORECASE),{ define_keymap(re.compile(codeStr, re.IGNORECASE),{

View File

@@ -470,16 +470,7 @@ if ! [[ $1 == "5" || $1 == "uninstall" || $1 == "Uninstall" ]]; then
xhost +SI:localuser:root xhost +SI:localuser:root
git clone --depth 10 https://github.com/rbreaves/xkeysnail.git git clone --depth 10 https://github.com/rbreaves/xkeysnail.git
cd xkeysnail cd xkeysnail
git checkout kinto git checkout debug
giturl=$(git ls-remote --get-url)
if [ "$giturl" != "https://github.com/rbreaves/xkeysnail.git" ];then
echo -e "\nreplacing xkeysnail with fork...\n"
cd ..
rm -rf ./xkeysnail
git clone --depth 10 https://github.com/rbreaves/xkeysnail.git
cd xkeysnail
git checkout kinto
fi
sudo pip3 install --upgrade . sudo pip3 install --upgrade .
cd .. cd ..
which xkeysnail which xkeysnail