mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 10:36:39 +02:00
Compare commits
19 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4a3bfe79e2 | ||
![]() |
6f42c68e4b | ||
![]() |
22c5bfb245 | ||
![]() |
99a8566262 | ||
![]() |
53cf77a067 | ||
![]() |
9a13549c10 | ||
![]() |
81e6ee9760 | ||
![]() |
de01e9f744 | ||
![]() |
91af0b95aa | ||
![]() |
00f2267e31 | ||
![]() |
d894af4e45 | ||
![]() |
bab7660359 | ||
![]() |
11f8b13fae | ||
![]() |
cb1c5cfc46 | ||
![]() |
508175ce72 | ||
![]() |
d2c3b1e9f2 | ||
![]() |
6cf7ded26e | ||
![]() |
e102f63036 | ||
![]() |
cd7ab8e572 |
@@ -290,7 +290,7 @@ Other programs that will be installed when you run ./setup.py
|
||||
|
||||
Note: Sublime Text users should disable screen rotation hotkeys as they will interfere with multi-cursor and possibly other combos. See https://windowsloop.com/disable-screen-rotation-keyboard-shortcut/ for details.
|
||||
|
||||
You may also want to disable the Xbox Game Bar so that Win+G or other shortcuts will not interfer with any of your remaps. Start menu -> Game bar shortcuts -> toggle Off.
|
||||
You may also want to disable the Xbox Game Bar so that Win+G or other shortcuts will not interfere with any of your remaps. Start menu -> Game bar shortcuts -> toggle Off.
|
||||
|
||||
## Shortcut Creation
|
||||
|
||||
@@ -544,7 +544,7 @@ Linux driver for Facetime HD on macbooks
|
||||
|
||||
[Windows Terminal Preview](https://aka.ms/terminal-preview) by Microsoft
|
||||
|
||||
The best Terminal app built for Windows hands down. I have tried countless, but this one actually seems to get everything right, despite the lack of a GUI to configure all aspects of the program. Custom configurations have to be done via a json file - but given the performance and feature set I feel like it is the a decent trade off.
|
||||
The best Terminal app built for Windows hands down. I have tried countless, but this one actually seems to get everything right, despite the lack of a GUI to configure all aspects of the program. Custom configurations have to be done via a json file - but given the performance and feature set I feel like it is a decent trade off.
|
||||
|
||||
I will update Kinto to have custom configurations for this specific Terminal in the future. Will make seamless copy & paste, which already works, work even better (Cmd-C can still trigger sigint - but there is a fix for that that involves updating the json config).
|
||||
|
||||
@@ -641,7 +641,7 @@ I would just like to thank a few people here directly that have helped me tremen
|
||||
|
||||
First off I'd like to thank the Stackoverflow and Stackexchange community. I have probably rubbed some mods the wrong way over there, but the people from the community in general are extremely helpful and gracious and without their contributions would have made this much more difficult. The person I'd like to thank most though from over there is Glen Whitney. Without his detailed explaining of how to rebind keys in xkb this would not have come together at all, as every other remapping solution were non-starters as complexity increases. *Kinto today no longer uses xkb, but Glen Whitney did provide the basis of a workable method that helped me pursue this method and think it was a worthwhile project to pursue, so for that I thank him.*
|
||||
|
||||
Secondarily I'd like to thank Christian Eriksson*, as he provided information that kept me up at night.. literally. Even after I implemented a similar bash script to one he had suggested I knew that fully implementing a c/c++ solution was where Kinto needed to head to and his explaination was better than I remember it being now that I have gone back to read it again. He also never provided a full implementation of a c/c++ solution - he did hit on the pain points pretty well of what one would need to do and watch out for. I am not sure where I got the first example code of implementing a c based solution, but he definitely went over it well.
|
||||
Secondarily I'd like to thank Christian Eriksson*, as he provided information that kept me up at night.. literally. Even after I implemented a similar bash script to one he had suggested I knew that fully implementing a c/c++ solution was where Kinto needed to head to and his explanation was better than I remember it being now that I have gone back to read it again. He also never provided a full implementation of a c/c++ solution - he did hit on the pain points pretty well of what one would need to do and watch out for. I am not sure where I got the first example code of implementing a c based solution, but he definitely went over it well.
|
||||
|
||||
|
||||
Kui and his gist file** was really the c based solution that I found had the fewest issues to resolve to making it a reliable solution. It didn't account for all failures very well, aka BadWindow issues, but it made for a great foundation on which Kintox11 is built. I cannot thank him enough for putting it out there for others to work with.
|
||||
|
@@ -23,6 +23,7 @@ terminals = [
|
||||
"lxterminal",
|
||||
"mate-terminal",
|
||||
"org.gnome.Console",
|
||||
"roxterm",
|
||||
"qterminal",
|
||||
"st",
|
||||
"sakura",
|
||||
@@ -35,6 +36,7 @@ terminals = [
|
||||
"urxvt",
|
||||
"xfce4-terminal",
|
||||
"xterm",
|
||||
"yakuake"
|
||||
]
|
||||
terminals = [term.casefold() for term in terminals]
|
||||
termStr = "|".join(str('^'+x+'$') for x in terminals)
|
||||
@@ -60,6 +62,7 @@ remotes = [
|
||||
"VirtualBox Machine",
|
||||
"xfreerdp",
|
||||
"Wfica",
|
||||
"Anydesk",
|
||||
]
|
||||
remotes = [client.casefold() for client in remotes]
|
||||
remotesStr = "|".join(str('^'+x+'$') for x in remotes)
|
||||
@@ -70,6 +73,7 @@ mscodes.extend(remotes)
|
||||
|
||||
# Use for browser specific hotkeys
|
||||
browsers = [
|
||||
"Brave-browser",
|
||||
"Chromium",
|
||||
"Chromium-browser",
|
||||
"Discord",
|
||||
@@ -88,6 +92,7 @@ browsers = [browser.casefold() for browser in browsers]
|
||||
browserStr = "|".join(str('^'+x+'$') for x in browsers)
|
||||
|
||||
chromes = [
|
||||
"Brave-browser",
|
||||
"Chromium",
|
||||
"Chromium-browser",
|
||||
"Google-chrome",
|
||||
@@ -201,15 +206,15 @@ define_keymap(re.compile("^jetbrains-(?!.*toolbox).*$", re.IGNORECASE),{
|
||||
K("C-Key_8"): K("Alt-Key_8"), # Open corresponding tool window
|
||||
K("C-Key_9"): K("Alt-Key_9"), # Open corresponding tool window
|
||||
K("Super-Grave"): K("C-Grave"), # Quick switch current scheme
|
||||
K("C-Comma"): K("C-M-s"), # Open Settings dialog
|
||||
K("C-Semicolon"): K("C-M-Shift-s"), # Open Project Structure dialog
|
||||
K("C-Comma"): K("C-Alt-s"), # Open Settings dialog
|
||||
K("C-Semicolon"): K("C-Alt-Shift-s"), # Open Project Structure dialog
|
||||
# Debugging
|
||||
K("C-M-r"): K("F9"), # Resume program
|
||||
K("C-Alt-r"): K("F9"), # Resume program
|
||||
# Search/Replace
|
||||
K("C-g"): K("F3"), # Find next
|
||||
K("C-Shift-F3"): K("Shift-F3"), # Find previous
|
||||
K("Super-g"): K("Alt-j"), # Select next occurrence
|
||||
K("C-Super-g"): K("C-M-Shift-j"), # Select all occurrences
|
||||
K("C-Super-g"): K("C-Alt-Shift-j"), # Select all occurrences
|
||||
K("Super-Shift-g"): K("Alt-Shift-j"), # Unselect occurrence
|
||||
# Editing
|
||||
K("Super-Space"): K("LC-Space"), # Basic code completion
|
||||
@@ -221,8 +226,8 @@ define_keymap(re.compile("^jetbrains-(?!.*toolbox).*$", re.IGNORECASE),{
|
||||
K("Alt-Up"): K("C-w"), # Extend selection
|
||||
K("Alt-Down"): K("C-Shift-w"), # Shrink selection
|
||||
K("Super-Shift-q"): K("Alt-q"), # Context info
|
||||
K("Super-M-o"): K("C-M-o"), # Optimize imports
|
||||
K("Super-M-i"): K("C-M-i"), # Auto-indent line(s)
|
||||
K("Super-Alt-o"): K("C-Alt-o"), # Optimize imports
|
||||
K("Super-Alt-i"): K("C-Alt-i"), # Auto-indent line(s)
|
||||
K("C-Backspace"): K("C-y"), # Delete line at caret
|
||||
K("Super-Shift-j"): K("C-Shift-j"), # Smart line join
|
||||
K("Alt-Delete"): K("C-Delete"), # Delete to word end
|
||||
@@ -234,11 +239,11 @@ define_keymap(re.compile("^jetbrains-(?!.*toolbox).*$", re.IGNORECASE),{
|
||||
K("C-w"): K("C-F4"), # Close active editor tab
|
||||
# Refactoring
|
||||
K("C-Delete"): K("Alt-Delete"), # Safe Delete
|
||||
K("C-T"): K("C-M-Shift-t"), # Refactor this
|
||||
K("C-T"): K("C-Alt-Shift-t"), # Refactor this
|
||||
# Navigation
|
||||
K("C-o"): K("C-n"), # Go to class
|
||||
K("C-Shift-o"): K("C-Shift-n"), # Go to file
|
||||
K("C-M-o"): K("C-M-Shift-n"), # Go to symbol
|
||||
K("C-Alt-o"): K("C-Alt-Shift-n"), # Go to symbol
|
||||
K("Super-Right"): K("Alt-Right"), # Go to next editor tab
|
||||
K("Super-Left"): K("Alt-Left"), # Go to previous editor tab
|
||||
K("C-l"): K("C-g"), # Go to line
|
||||
@@ -248,7 +253,7 @@ define_keymap(re.compile("^jetbrains-(?!.*toolbox).*$", re.IGNORECASE),{
|
||||
K("Super-Up"): K("Alt-Up"), # Go to previous
|
||||
K("Super-Down"): K("Alt-Down"), # Go to next method
|
||||
K("Super-h"): K("C-h"), # Type hierarchy
|
||||
K("Super-M-h"): K("C-M-h"), # Call hierarchy
|
||||
K("Super-Alt-h"): K("C-Alt-h"), # Call hierarchy
|
||||
K("C-Down"): K("C-Enter"), # Edit source/View source
|
||||
K("Alt-Home"): K("Alt-Home"), # Show navigation bar
|
||||
K("F2"): K("F11"), # Toggle bookmark
|
||||
@@ -265,8 +270,8 @@ define_keymap(re.compile("^jetbrains-(?!.*toolbox).*$", re.IGNORECASE),{
|
||||
K("Super-Key_9"): K("C-Key_9"), # Go to numbered bookmark
|
||||
K("C-F3"): K("Shift-F11"), # Show bookmarks
|
||||
# Compile and Run
|
||||
K("Super-M-r"): K("Alt-Shift-F10"), # Select configuration and run
|
||||
K("Super-M-d"): K("Alt-Shift-F9"), # Select configuration and debug
|
||||
K("Super-Alt-r"): K("Alt-Shift-F10"), # Select configuration and run
|
||||
K("Super-Alt-d"): K("Alt-Shift-F9"), # Select configuration and debug
|
||||
K("Super-r"): K("Shift-F10"), # Run
|
||||
K("Super-d"): K("Shift-F9"), # Debug
|
||||
K("Super-Shift-r"): K("C-Shift-F10"), # Run context configuration from editor
|
||||
@@ -326,7 +331,7 @@ define_keymap(re.compile("^io.elementary.files$", re.IGNORECASE),{
|
||||
# Keybindings overrides for Nautilus
|
||||
# (overrides some bindings from general file manager code block below)
|
||||
define_keymap(re.compile("^org.gnome.nautilus$|^nautilus$", re.IGNORECASE),{
|
||||
# K("RC-N"): K("C-M-Space"), # macOS Finder search window shortcut Cmd+Option+Space
|
||||
# K("RC-N"): K("C-Alt-Space"), # macOS Finder search window shortcut Cmd+Option+Space
|
||||
# For this ^^^^^^^^^^^ to work, a custom shortcut must be set up in the Settings app in GNOME
|
||||
# to run command: "nautilus --new-window /home/USER" [ replace "USER" ]
|
||||
K("RC-KEY_1"): K("C-KEY_2"), # View as Icons
|
||||
@@ -476,8 +481,8 @@ define_keymap(re.compile(browserStr, re.IGNORECASE),{
|
||||
K("RC-Shift-Left_Brace"): K("C-Page_Up"), # Go to prior tab
|
||||
K("RC-Shift-Right_Brace"): K("C-Page_Down"), # Go to next tab
|
||||
# Enable Cmd+Option+Left/Right for tab navigation
|
||||
K("RC-M-Left"): K("C-Page_Up"), # Go to prior tab
|
||||
K("RC-M-Right"): K("C-Page_Down"), # Go to next tab
|
||||
K("RC-Alt-Left"): K("C-Page_Up"), # Go to prior tab
|
||||
K("RC-Alt-Right"): K("C-Page_Down"), # Go to next tab
|
||||
# Enable Ctrl+PgUp/PgDn for tab navigation
|
||||
K("Super-Page_Up"): K("C-Page_Up"), # Go to prior tab
|
||||
K("Super-Page_Down"): K("C-Page_Down"), # Go to next tab
|
||||
@@ -542,8 +547,8 @@ define_keymap(lambda wm_class: wm_class.casefold() not in remotes,{
|
||||
K("RC-F3"):K("Super-d"), # Default SL - Show Desktop (gnome/kde,eos)
|
||||
K("RC-Super-f"):K("Alt-F10"), # Default SL - Maximize app (gnome/kde)
|
||||
# K("RC-Super-f"): K("Super-Page_Up"), # SL - Toggle maximized window state (kde_neon)
|
||||
# K("Super-Right"):K("C-M-Right"), # Default SL - Change workspace (budgie)
|
||||
# K("Super-Left"):K("C-M-Left"), # Default SL - Change workspace (budgie)
|
||||
# K("Super-Right"):K("C-Alt-Right"), # Default SL - Change workspace (budgie)
|
||||
# K("Super-Left"):K("C-Alt-Left"), # Default SL - Change workspace (budgie)
|
||||
K("RC-Q"): K("Alt-F4"), # Default SL - not-popos
|
||||
K("RC-H"):K("Super-h"), # Default SL - Minimize app (gnome/budgie/popos/fedora)
|
||||
K("Alt-Tab"): pass_through_key, # Default - Cmd Tab - App Switching Default
|
||||
@@ -562,7 +567,7 @@ define_keymap(lambda wm_class: wm_class.casefold() not in remotes,{
|
||||
# K("RC-H"): K("Super-Page_Down"), # SL - Minimize app (kde_neon)
|
||||
# SL - Default SL - Change workspace (kde_neon)
|
||||
# K("RC-Space"): K("LC-Esc"), # SL- Launch Application Menu xfce4
|
||||
# K("RC-F3"):K("C-M-d"), # SL- Show Desktop xfce4
|
||||
# K("RC-F3"):K("C-Alt-d"), # SL- Show Desktop xfce4
|
||||
# K("RC-LC-f"):K("Super-Up"), # SL- Maximize app eos
|
||||
# K("RC-LC-f"):K("Super-PAGE_UP"), # SL- Maximize app manjaro
|
||||
# Basic App hotkey functions
|
||||
@@ -640,6 +645,8 @@ define_keymap(lambda wm_class: wm_class.casefold() not in mscodes,{
|
||||
# Keybindings for VS Code
|
||||
define_keymap(re.compile(codeStr, re.IGNORECASE),{
|
||||
K("Super-Space"): K("LC-Space"), # Basic code completion
|
||||
# Override the global Cmd+Dot (Escape/cancel) shortcut
|
||||
K("RC-Dot"): K("RC-Dot"), # QuickFix
|
||||
# Wordwise remaining - for VS Code
|
||||
# Alt-F19 hack fixes Alt menu activation
|
||||
K("Alt-Left"): [K("Alt-F19"),K("C-Left")], # Left of Word
|
||||
@@ -649,8 +656,8 @@ define_keymap(re.compile(codeStr, re.IGNORECASE),{
|
||||
|
||||
# K("C-PAGE_DOWN"): pass_through_key, # cancel next_view
|
||||
# K("C-PAGE_UP"): pass_through_key, # cancel prev_view
|
||||
K("C-M-Left"): K("C-PAGE_UP"), # next_view
|
||||
K("C-M-Right"): K("C-PAGE_DOWN"), # prev_view
|
||||
K("C-Alt-Left"): K("C-PAGE_UP"), # next_view
|
||||
K("C-Alt-Right"): K("C-PAGE_DOWN"), # prev_view
|
||||
K("RC-Shift-Left_Brace"): K("C-PAGE_UP"), # next_view
|
||||
K("RC-Shift-Right_Brace"): K("C-PAGE_DOWN"), # prev_view
|
||||
|
||||
@@ -659,9 +666,9 @@ define_keymap(re.compile(codeStr, re.IGNORECASE),{
|
||||
K("Super-g"): K("C-g"), # Go to Line...
|
||||
K("F3"): pass_through_key, # cancel Find next
|
||||
K("C-h"): pass_through_key, # cancel replace
|
||||
K("C-M-f"): K("C-h"), # replace
|
||||
K("C-Alt-f"): K("C-h"), # replace
|
||||
K("C-Shift-h"): pass_through_key, # cancel replace_next
|
||||
K("C-M-e"): K("C-Shift-h"), # replace_next
|
||||
K("C-Alt-e"): K("C-Shift-h"), # replace_next
|
||||
K("f3"): pass_through_key, # cancel find_next
|
||||
K("C-g"): K("f3"), # find_next
|
||||
K("Shift-f3"): pass_through_key, # cancel find_prev
|
||||
@@ -671,7 +678,7 @@ define_keymap(re.compile(codeStr, re.IGNORECASE),{
|
||||
# K("Alt-c"): K("LC-c"), # Chromebook/IBM - Terminal - Sigint
|
||||
# K("Alt-x"): K("LC-x"), # Chromebook/IBM - Terminal - Exit nano
|
||||
# K("Super-C-g"): K("C-f2"), # Default - Sublime - find_all_under
|
||||
# K("C-M-g"): K("C-f2"), # Chromebook/IBM - Sublime - find_all_under
|
||||
# K("C-Alt-g"): K("C-f2"), # Chromebook/IBM - Sublime - find_all_under
|
||||
# K("Super-Shift-up"): K("Alt-Shift-up"), # multi-cursor up - Sublime
|
||||
# K("Super-Shift-down"): K("Alt-Shift-down"), # multi-cursor down - Sublime
|
||||
# K(""): pass_through_key, # cancel
|
||||
@@ -687,43 +694,43 @@ define_keymap(re.compile(sublimeStr, re.IGNORECASE),{
|
||||
K("Super-Space"): K("C-Space"), # Basic code completion
|
||||
K("C-Super-up"): K("Alt-o"), # Switch file
|
||||
K("Super-RC-f"): K("f11"), # toggle_full_screen
|
||||
K("C-M-v"): [K("C-k"), K("C-v")], # paste_from_history
|
||||
K("C-Alt-v"): [K("C-k"), K("C-v")], # paste_from_history
|
||||
K("C-up"): pass_through_key, # cancel scroll_lines up
|
||||
K("C-M-up"): K("C-up"), # scroll_lines up
|
||||
K("C-Alt-up"): K("C-up"), # scroll_lines up
|
||||
K("C-down"): pass_through_key, # cancel scroll_lines down
|
||||
K("C-M-down"): K("C-down"), # scroll_lines down
|
||||
K("C-Alt-down"): K("C-down"), # scroll_lines down
|
||||
K("Super-Shift-up"): K("Alt-Shift-up"), # multi-cursor up
|
||||
K("Super-Shift-down"): K("Alt-Shift-down"), # multi-cursor down
|
||||
K("C-PAGE_DOWN"): pass_through_key, # cancel next_view
|
||||
K("C-PAGE_UP"): pass_through_key, # cancel prev_view
|
||||
K("C-Shift-left_brace"): K("C-PAGE_DOWN"), # next_view
|
||||
K("C-Shift-right_brace"): K("C-PAGE_UP"), # prev_view
|
||||
K("C-M-right"): K("C-PAGE_DOWN"), # next_view
|
||||
K("C-M-left"): K("C-PAGE_UP"), # prev_view
|
||||
K("C-Alt-right"): K("C-PAGE_DOWN"), # next_view
|
||||
K("C-Alt-left"): K("C-PAGE_UP"), # prev_view
|
||||
K("insert"): pass_through_key, # cancel toggle_overwrite
|
||||
K("C-M-o"): K("insert"), # toggle_overwrite
|
||||
K("C-Alt-o"): K("insert"), # toggle_overwrite
|
||||
K("Alt-c"): pass_through_key, # cancel toggle_case_sensitive
|
||||
K("C-M-c"): K("Alt-c"), # toggle_case_sensitive
|
||||
K("C-Alt-c"): K("Alt-c"), # toggle_case_sensitive
|
||||
K("C-h"): pass_through_key, # cancel replace
|
||||
K("C-M-f"): K("C-h"), # replace
|
||||
K("C-Alt-f"): K("C-h"), # replace
|
||||
K("C-Shift-h"): pass_through_key, # cancel replace_next
|
||||
K("C-M-e"): K("C-Shift-h"), # replace_next
|
||||
K("C-Alt-e"): K("C-Shift-h"), # replace_next
|
||||
K("f3"): pass_through_key, # cancel find_next
|
||||
K("C-g"): K("f3"), # find_next
|
||||
K("Shift-f3"): pass_through_key, # cancel find_prev
|
||||
K("C-Shift-g"): K("Shift-f3"), # find_prev
|
||||
K("C-f3"): pass_through_key, # cancel find_under
|
||||
K("Super-M-g"): K("C-f3"), # find_under
|
||||
K("Super-Alt-g"): K("C-f3"), # find_under
|
||||
K("C-Shift-f3"): pass_through_key, # cancel find_under_prev
|
||||
K("Super-M-Shift-g"): K("C-Shift-f3"), # find_under_prev
|
||||
K("Super-Alt-Shift-g"): K("C-Shift-f3"), # find_under_prev
|
||||
K("Alt-f3"): pass_through_key, # Default - cancel find_all_under
|
||||
# K("Alt-Refresh"): pass_through_key, # Chromebook/IBM - cancel find_all_under
|
||||
# K("Alt-C-g"): K("Alt-Refresh"), # Chromebook/IBM - find_all_under
|
||||
K("Super-C-g"): K("Alt-f3"), # Default - find_all_under
|
||||
K("C-Shift-up"): pass_through_key, # cancel swap_line_up
|
||||
K("Super-M-up"): K("C-Shift-up"), # swap_line_up
|
||||
K("Super-Alt-up"): K("C-Shift-up"), # swap_line_up
|
||||
K("C-Shift-down"): pass_through_key, # cancel swap_line_down
|
||||
K("Super-M-down"): K("C-Shift-down"), # swap_line_down
|
||||
K("Super-Alt-down"): K("C-Shift-down"), # swap_line_down
|
||||
K("C-Pause"): pass_through_key, # cancel cancel_build
|
||||
K("Super-c"): K("C-Pause"), # cancel_build
|
||||
K("f9"): pass_through_key, # cancel sort_lines case_s false
|
||||
@@ -731,19 +738,19 @@ define_keymap(re.compile(sublimeStr, re.IGNORECASE),{
|
||||
K("Super-f9"): pass_through_key, # cancel sort_lines case_s true
|
||||
K("Super-f5"): K("Super-f9"), # sort_lines case_s true
|
||||
K("Alt-Shift-Key_1"): pass_through_key, # cancel set_layout
|
||||
K("C-M-Key_1"): K("Alt-Shift-Key_1"), # set_layout
|
||||
K("C-Alt-Key_1"): K("Alt-Shift-Key_1"), # set_layout
|
||||
K("Alt-Shift-Key_2"): pass_through_key, # cancel set_layout
|
||||
K("C-M-Key_2"): K("Alt-Shift-Key_2"), # set_layout
|
||||
K("C-Alt-Key_2"): K("Alt-Shift-Key_2"), # set_layout
|
||||
K("Alt-Shift-Key_3"): pass_through_key, # cancel set_layout
|
||||
K("C-M-Key_3"): K("Alt-Shift-Key_3"), # set_layout
|
||||
K("C-Alt-Key_3"): K("Alt-Shift-Key_3"), # set_layout
|
||||
K("Alt-Shift-Key_4"): pass_through_key, # cancel set_layout
|
||||
K("C-M-Key_4"): K("Alt-Shift-Key_4"), # set_layout
|
||||
K("C-Alt-Key_4"): K("Alt-Shift-Key_4"), # set_layout
|
||||
K("Alt-Shift-Key_8"): pass_through_key, # cancel set_layout
|
||||
K("C-M-Shift-Key_2"): K("Alt-Shift-Key_8"), # set_layout
|
||||
K("C-Alt-Shift-Key_2"): K("Alt-Shift-Key_8"), # set_layout
|
||||
K("Alt-Shift-Key_9"): pass_through_key, # cancel set_layout
|
||||
K("C-M-Shift-Key_3"): K("Alt-Shift-Key_9"), # set_layout
|
||||
K("C-Alt-Shift-Key_3"): K("Alt-Shift-Key_9"), # set_layout
|
||||
K("Alt-Shift-Key_5"): pass_through_key, # cancel set_layout
|
||||
K("C-M-Shift-Key_5"): K("Alt-Shift-Key_5"), # set_layout
|
||||
K("C-Alt-Shift-Key_5"): K("Alt-Shift-Key_5"), # set_layout
|
||||
# K(""): pass_through_key, # cancel
|
||||
# K(""): K(""), #
|
||||
}, "Sublime Text")
|
||||
@@ -779,11 +786,11 @@ define_keymap(re.compile(termStr, re.IGNORECASE),{
|
||||
K("LC-RC-f"): K("Alt-F10"), # Toggle window maximized state
|
||||
# K("RC-Grave"): K("Super-Tab"), # xfce4 Switch within app group
|
||||
# K("RC-Shift-Grave"): K("Super-Shift-Tab"), # xfce4 Switch within app group
|
||||
# K("LC-Right"):K("C-M-Right"), # Default SL - Change workspace (budgie)
|
||||
# K("LC-Left"):K("C-M-Left"), # Default SL - Change workspace (budgie)
|
||||
# K("LC-Left"):K("C-M-End"), # SL - Change workspace xfce4
|
||||
# K("LC-Right"):K("C-Alt-Right"), # Default SL - Change workspace (budgie)
|
||||
# K("LC-Left"):K("C-Alt-Left"), # Default SL - Change workspace (budgie)
|
||||
# K("LC-Left"):K("C-Alt-End"), # SL - Change workspace xfce4
|
||||
# K("LC-Left"):K("Super-Left"), # SL - Change workspace eos
|
||||
# K("LC-Right"):K("C-M-Home"), # SL - Change workspace xfce4
|
||||
# K("LC-Right"):K("C-Alt-Home"), # SL - Change workspace xfce4
|
||||
# K("LC-Right"):K("Super-Right"), # SL - Change workspace eos
|
||||
# K("LC-Right"):K("Super-Page_Up"), # SL - Change workspace (ubuntu/fedora)
|
||||
# K("LC-Left"):K("Super-Page_Down"), # SL - Change workspace (ubuntu/fedora)
|
||||
|
@@ -176,6 +176,7 @@ GroupAdd, browsers, ahk_exe msedge.exe
|
||||
; Disable for Remote desktop solutions too
|
||||
GroupAdd, remotes, ahk_exe VirtualBoxVM.exe
|
||||
GroupAdd, remotes, ahk_exe mstsc.exe
|
||||
GroupAdd, remotes, ahk_exe anydesk.exe
|
||||
GroupAdd, remotes, ahk_exe msrdc.exe
|
||||
GroupAdd, remotes, ahk_exe nxplayer.bin
|
||||
GroupAdd, remotes, ahk_exe vmconnect.exe
|
||||
@@ -271,15 +272,6 @@ GroupAdd, intellij, ahk_exe idea64.exe
|
||||
; #########################################################################
|
||||
|
||||
#IfWinNotActive ahk_group remotes
|
||||
; Lock Workstation
|
||||
#^q::DllCall("LockWorkStation")
|
||||
; Conflicts w/ Win-L so will use Ctrl-Shift-L as Ctrl-L replacement
|
||||
; Helpful for Sublime text lowercasing & VSCode
|
||||
^+l::Send ^{l}
|
||||
; Adds Task View to Ctrl-Cmd-Down
|
||||
#^Down::
|
||||
Run, "C:\Windows\explorer.exe" "shell:::{3080F90E-D7AD-11D9-BD98-0000947B0257}"
|
||||
return
|
||||
; wordwise support
|
||||
^Up::Send ^{Home}
|
||||
^+Up::Send ^+{Home}
|
||||
|
@@ -385,9 +385,9 @@ if ! [ -x "$(command -v pip3)" ]; then
|
||||
fi
|
||||
if ! [ -x "$(command -v python3-config)" ]; then
|
||||
if [ "$distro" == "ubuntu" ] || [ "${distro::6}" == "debian" ] || [ "$distro" == 'linuxmint' ]; then
|
||||
pydev="python3-dev"
|
||||
pydev="python3-dev python3-tk"
|
||||
elif [ "$distro" == "fedora" ] || [ "$distro" == "fedoralinux" ]; then
|
||||
pydev="python3-devel"
|
||||
pydev="python3-devel python3-tkinter"
|
||||
fi
|
||||
if [ "$distro" == "gnome" ] || [ "$distro" == "fedora" ] || [ "$distro" == "fedoralinux" ] || [ "${distro::6}" == "debian" ] || [ "$distro" == 'linuxmint' ] ; then
|
||||
echo "Will need to install $pydev..."
|
||||
@@ -566,7 +566,7 @@ if ! [[ $1 == "5" || $1 == "uninstall" || $1 == "Uninstall" ]]; then
|
||||
git clone -b kinto --depth 10 https://github.com/rbreaves/xkeysnail.git
|
||||
cd xkeysnail
|
||||
fi
|
||||
sudo pip3 install --upgrade .
|
||||
sudo pip3 install --upgrade . --break-system-packages
|
||||
cd ..
|
||||
which xkeysnail
|
||||
if [ $? -eq 1 ]; then
|
||||
|
Reference in New Issue
Block a user