mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
Merge pull request #372 from rbreaves/dev
Set permissions better, add RAlt-Enter for Insert, fix cmd-tab for terms (linux)
This commit is contained in:
0
linux/gui/kinto-gui.py
Normal file → Executable file
0
linux/gui/kinto-gui.py
Normal file → Executable file
0
linux/gui/kinto.desktop
Normal file → Executable file
0
linux/gui/kinto.desktop
Normal file → Executable file
12
linux/kinto.py
Normal file → Executable file
12
linux/kinto.py
Normal file → Executable file
@@ -258,6 +258,9 @@ define_keymap(None,{
|
|||||||
# K("M-Grave") : K("C-Shift-Tab"), # Chromebook/IBM - In-App Tab switching
|
# K("M-Grave") : K("C-Shift-Tab"), # Chromebook/IBM - In-App Tab switching
|
||||||
K("Super-Tab"): K("LC-Tab"), # Default not-chromebook
|
K("Super-Tab"): K("LC-Tab"), # Default not-chromebook
|
||||||
K("Super-Shift-Tab"): K("LC-Shift-Tab"), # Default not-chromebook
|
K("Super-Shift-Tab"): K("LC-Shift-Tab"), # Default not-chromebook
|
||||||
|
|
||||||
|
# Fn to Alt style remaps
|
||||||
|
K("RM-Enter"): K("insert"), # Insert
|
||||||
|
|
||||||
# emacs style
|
# emacs style
|
||||||
K("Super-a"): K("Home"), # Beginning of Line
|
K("Super-a"): K("Home"), # Beginning of Line
|
||||||
@@ -454,9 +457,14 @@ define_keymap(re.compile(termStr, re.IGNORECASE),{
|
|||||||
K("LC-Tab") : K("LC-PAGE_DOWN"),
|
K("LC-Tab") : K("LC-PAGE_DOWN"),
|
||||||
K("LC-Shift-Tab") : K("LC-PAGE_UP"),
|
K("LC-Shift-Tab") : K("LC-PAGE_UP"),
|
||||||
K("LC-Grave") : K("LC-PAGE_UP"),
|
K("LC-Grave") : K("LC-PAGE_UP"),
|
||||||
|
# K("M-Tab"): pass_through_key, # Default not-xfce4 - Cmd Tab - App Switching Default
|
||||||
|
# K("RC-Tab"): K("M-Tab"), # Default not-xfce4 - Cmd Tab - App Switching Default
|
||||||
|
# K("RC-Shift-Tab"): K("M-Shift-Tab"), # Default not-xfce4 - Cmd Tab - App Switching Default
|
||||||
|
# Cmd Tab - App Switching Default
|
||||||
|
# K("RC-Tab"): K("RC-backslash"), # xfce4
|
||||||
|
# K("RC-Shift-Tab"): K("RC-Shift-backslash"), # xfce4
|
||||||
|
# K("RC-Grave"): K("RC-Shift-backslash"), # xfce4
|
||||||
# Converts Cmd to use Ctrl-Shift
|
# Converts Cmd to use Ctrl-Shift
|
||||||
K("RC-Tab"): K("RC-F13"),
|
|
||||||
K("RC-Shift-Tab"): K("RC-Shift-F13"),
|
|
||||||
K("RC-V"): K("C-Shift-V"),
|
K("RC-V"): K("C-Shift-V"),
|
||||||
K("RC-MINUS"): K("C-Shift-MINUS"),
|
K("RC-MINUS"): K("C-Shift-MINUS"),
|
||||||
K("RC-EQUAL"): K("C-Shift-EQUAL"),
|
K("RC-EQUAL"): K("C-Shift-EQUAL"),
|
||||||
|
0
linux/xkeysnail.desktop
Normal file → Executable file
0
linux/xkeysnail.desktop
Normal file → Executable file
0
linux/xkeysnail.service
Normal file → Executable file
0
linux/xkeysnail.service
Normal file → Executable file
@@ -270,6 +270,17 @@ GroupAdd, intellij, ahk_exe idea64.exe
|
|||||||
; $LWin up::Send {LWin up}{LAlt up}{LCtrl up} ; MacModifiers
|
; $LWin up::Send {LWin up}{LAlt up}{LCtrl up} ; MacModifiers
|
||||||
; $LAlt up::Send {LWin up}{CapsLock up}{LAlt up}{LCtrl up} ; CB/IBM
|
; $LAlt up::Send {LWin up}{CapsLock up}{LAlt up}{LCtrl up} ; CB/IBM
|
||||||
|
|
||||||
|
!Enter::
|
||||||
|
{
|
||||||
|
if (GetKeyState("RAlt", "P")) {
|
||||||
|
Send {Insert}
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
Send {Alt down}{Enter}{Alt up}
|
||||||
|
}
|
||||||
|
Return
|
||||||
|
}
|
||||||
|
|
||||||
; Remap Alt+Esc to Break/Pause
|
; Remap Alt+Esc to Break/Pause
|
||||||
!Esc::SendInput, {Pause}
|
!Esc::SendInput, {Pause}
|
||||||
|
|
||||||
|
@@ -470,8 +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 pull --depth 10
|
git checkout kinto
|
||||||
git checkout 51c369084e0045a8410d227bab52411bf84fb65b
|
|
||||||
giturl=$(git ls-remote --get-url)
|
giturl=$(git ls-remote --get-url)
|
||||||
if [ "$giturl" != "https://github.com/rbreaves/xkeysnail.git" ];then
|
if [ "$giturl" != "https://github.com/rbreaves/xkeysnail.git" ];then
|
||||||
echo -e "\nreplacing xkeysnail with fork...\n"
|
echo -e "\nreplacing xkeysnail with fork...\n"
|
||||||
@@ -479,7 +478,7 @@ if ! [[ $1 == "5" || $1 == "uninstall" || $1 == "Uninstall" ]]; then
|
|||||||
rm -rf ./xkeysnail
|
rm -rf ./xkeysnail
|
||||||
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 51c369084e0045a8410d227bab52411bf84fb65b
|
git checkout kinto
|
||||||
fi
|
fi
|
||||||
sudo pip3 install --upgrade .
|
sudo pip3 install --upgrade .
|
||||||
cd ..
|
cd ..
|
||||||
|
Reference in New Issue
Block a user