mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-09 04:17:42 +02:00
Compare commits
13 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
346c79ca42 | ||
![]() |
f65e31791f | ||
![]() |
1b30572953 | ||
![]() |
11b2f30169 | ||
![]() |
648819ffe7 | ||
![]() |
be898ab3c5 | ||
![]() |
bed5f37ce3 | ||
![]() |
be0a6bb197 | ||
![]() |
e4a649fc8c | ||
![]() |
ddc7442e55 | ||
![]() |
274833af95 | ||
![]() |
bd9ecd123f | ||
![]() |
14ac2c8349 |
34
.github/workflows/01-ubuntu-budgie.yml
vendored
Normal file
34
.github/workflows/01-ubuntu-budgie.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: CI
|
||||
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the master branch
|
||||
push:
|
||||
branches: [ staging ]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
build:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
# Runs a single command using the runners shell
|
||||
- name: Run a one-line script
|
||||
run: echo Hello, world!
|
||||
|
||||
# Runs a set of commands using the runners shell
|
||||
- name: Run a multi-line script
|
||||
run: |
|
||||
echo Add other actions to build,
|
||||
echo test, and deploy your project.
|
@@ -26,7 +26,7 @@ If you like or appreciate this project then please consider donating.
|
||||
|**Wishlists**|[Amazon](https://smile.amazon.com/hz/wishlist/ls/3EVXR21VFKD9Z?ref_=wl_share)|[Adafruit](https://www.adafruit.com/wishlists/515932)|[eBay](https://www.ebay.com/mye/myebay/WatchList?custom_list_id=636668138019)|
|
||||
|---|---|---|---|
|
||||
|
||||
I have received some really great letters with donations & email, so I plan to make some of them public while redacting last names or anything I feel should remain private, and will be posting them on the frontpage of kinto.sh as I really do appreciate all of the support!
|
||||
I have received some really great letters with donations & email. I've also posted some of them with redacted first names to kinto.sh.
|
||||
|
||||
Also if you would like to send me a keyboard directly then please reach out to me over [twitter](https://twitter.com/gbit86) and send me a DM.
|
||||
|
||||
@@ -322,7 +322,7 @@ define_keymap(re.compile("Sublime_text"),{
|
||||
|
||||
In the above example I am also showing that you can define a single shortcut to enact multiple shortcut keys if needed by defining an array of shortcuts to trigger.
|
||||
|
||||
You can also make changes to the file in your /tmp/kinto/xkeysnail/kinto.py location and see them take affect in real time, but for your changes to be permanent you will need to make your changes in the ~/.config/kinto/kinto.py location & restart the xkeysnail service.
|
||||
To make changes you can edit ~/.config/kinto/kinto.py under linux & restart the xkeysnail service via the system tray, app or CLI.
|
||||
|
||||
systemd
|
||||
```
|
||||
|
@@ -69,6 +69,8 @@ browsers = [
|
||||
"Epiphany",
|
||||
"Firefox",
|
||||
"Firefox Developer Edition",
|
||||
"Navigator",
|
||||
"firefoxdeveloperedition",
|
||||
"Waterfox",
|
||||
"Google-chrome",
|
||||
"microsoft-edge",
|
||||
@@ -436,9 +438,15 @@ define_keymap(re.compile("Firefox", re.IGNORECASE),{
|
||||
],
|
||||
K("RC-Shift-N"): K("RC-Shift-P"), # Open private window with Ctrl+Shift+N like other browsers
|
||||
})
|
||||
|
||||
define_keymap(re.compile(chromeStr, re.IGNORECASE),{
|
||||
K("C-comma"): [K("M-e"), K("s"),K("Enter")],
|
||||
}, "Browsers")
|
||||
K("C-comma"): [K("M-e"), K("s"),K("Enter")], # Open preferences
|
||||
K("RC-q"): K("M-F4"), # Quit Chrome(s) browsers with Cmd+Q
|
||||
# K("RC-Left"): K("M-Left"), # Page nav: Back to prior page in history (conflict with wordwise)
|
||||
# K("RC-Right"): K("M-Right"), # Page nav: Forward to next page in history (conflict with wordwise)
|
||||
K("RC-Left_Brace"): K("M-Left"), # Page nav: Back to prior page in history
|
||||
K("RC-Right_Brace"): K("M-Right"), # Page nav: Forward to next page in history
|
||||
}, "Chrome Browsers")
|
||||
# Opera C-F12
|
||||
|
||||
# Keybindings for General Web Browsers
|
||||
|
@@ -3,15 +3,19 @@
|
||||
import gi
|
||||
|
||||
gi.require_version('Gtk', '3.0')
|
||||
gi.require_version('AppIndicator3', '0.1')
|
||||
gi.require_version('Notify', '0.7')
|
||||
|
||||
import signal,time,os,fcntl,datetime,re
|
||||
from subprocess import Popen, PIPE, CalledProcessError
|
||||
from shutil import which
|
||||
from gi.repository import Gtk,GLib,GdkPixbuf
|
||||
from gi.repository import AppIndicator3 as appindicator
|
||||
from gi.repository import Notify as notify
|
||||
try:
|
||||
gi.require_version('AyatanaAppIndicator3', '0.1')
|
||||
from gi.repository import AyatanaAppIndicator3 as appindicator
|
||||
except ValueError:
|
||||
gi.require_version('AppIndicator3', '0.1')
|
||||
from gi.repository import AppIndicator3 as appindicator
|
||||
|
||||
import signal
|
||||
|
||||
|
@@ -552,13 +552,16 @@ GroupAdd, intellij, ahk_exe idea64.exe
|
||||
|
||||
; Close all browsers
|
||||
#IfWinActive ahk_group browsers
|
||||
; Page Navigation
|
||||
^[::send !{Left} ; Go to prior page
|
||||
^]::send !{Right} ; Go to next page
|
||||
;Tab Navigation
|
||||
^+[::send ^{PgUp}
|
||||
^+]::send ^{PgDn}
|
||||
^!Left::send ^{PgUp}
|
||||
^!Right::send ^{PgDn}
|
||||
#Left::send ^{PgUp}
|
||||
#Right::send ^{PgDn}
|
||||
^+[::send ^{PgUp} ; Go to prior tab (left)
|
||||
^+]::send ^{PgDn} ; Go to next tab (right)
|
||||
^!Left::send ^{PgUp} ; Go to prior tab (left)
|
||||
^!Right::send ^{PgDn} ; Go to next tab (right)
|
||||
#Left::send ^{PgUp} ; Go to prior tab (left)
|
||||
#Right::send ^{PgDn} ; Go to next tab (right)
|
||||
^q::send {Alt Down}f{Alt Up}x ; exit all windows
|
||||
; Dev Tools
|
||||
!^i::send {Ctrl Down}{Shift Down}i{Shift Up}{Ctrl Up}
|
||||
@@ -858,3 +861,28 @@ Send {LWin up}
|
||||
Send {RShift up}
|
||||
Send {LShift up}
|
||||
return
|
||||
|
||||
#IfWinNotActive ahk_group remotes
|
||||
$!u::Goto, ActivateUmlautModifier
|
||||
$!s::Send, ß
|
||||
|
||||
ActivateUmlautModifier:
|
||||
StringCaseSense, On
|
||||
; watch next input string
|
||||
Input, UserInput, L1 B
|
||||
if UserInput = o
|
||||
Send, ö
|
||||
else if UserInput = O
|
||||
Send, Ö
|
||||
else if UserInput = a
|
||||
Send, ä
|
||||
else if UserInput = A
|
||||
Send, Ä
|
||||
else if UserInput = u
|
||||
Send, ü
|
||||
else if UserInput = U
|
||||
Send, Ü
|
||||
else
|
||||
Send, %UserInput%
|
||||
return
|
||||
#If
|
||||
|
@@ -329,7 +329,7 @@ if [[ $distro == 'kdeneon' ]]; then
|
||||
kquitapp5 kglobalaccel && sleep 2s && kglobalaccel5 &
|
||||
fi
|
||||
|
||||
if [[ $distro == 'fedora' ]]; then
|
||||
if [[ $distro == 'fedora' ]] || [[ $distro == 'fedoralinux' ]]; then
|
||||
if [[ $(gsettings get org.gnome.desktop.wm.keybindings show-desktop | grep "\[\]" | wc -l) == 1 ]];then
|
||||
gsettings set org.gnome.desktop.wm.keybindings show-desktop "['<Super>d']"
|
||||
else
|
||||
@@ -500,7 +500,7 @@ if [[ $distro == "popos" ]]; then
|
||||
perl -pi -e "\s{4}(# )(K.*)(# SL - .*popos.*)/ \$2\$3/g" ./linux/kinto.py.new >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [[ $distro == "fedora" ]]; then
|
||||
if [[ $distro == 'fedora' ]] || [[ $distro == 'fedoralinux' ]]; then
|
||||
perl -pi -e "\s{4}(# )(K.*)(# SL - .*fedora.*)/ \$2\$3/g" ./linux/kinto.py.new >/dev/null 2>&1
|
||||
sed -i "s#{sudo}##g" ./linux/xkeysnail.service.new
|
||||
selinuxuser=system_u
|
||||
@@ -575,7 +575,7 @@ if ! [[ $1 == "5" || $1 == "uninstall" || $1 == "Uninstall" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
sed -i "s#{xkeysnail}#`which xkeysnail`#g" ./linux/limitedadmins.new
|
||||
if [[ $distro == "fedora" ]]; then
|
||||
if [[ $distro == 'fedora' ]] || [[ $distro == 'fedoralinux' ]]; then
|
||||
echo "Changing SELinux context"
|
||||
sudo chcon -v --user=$selinuxuser --type=$selinuxtype "$xkeypath"xkeysnail.service
|
||||
fi
|
||||
@@ -587,7 +587,7 @@ if ! [[ $1 == "5" || $1 == "uninstall" || $1 == "Uninstall" ]]; then
|
||||
sed -i "s#{xkeysnail}#`which xkeysnail`#g" ./linux/xkeysnail.service.new
|
||||
sudo mv ./linux/xkeysnail.service.new "$xkeypath"xkeysnail.service && echo "Service file added to "$xkeypath"xkeysnail.service"
|
||||
|
||||
if [[ $distro == "fedora" ]]; then
|
||||
if [[ $distro == 'fedora' ]] || [[ $distro == 'fedoralinux' ]]; then
|
||||
sudo cp "$xkeypath"xkeysnail.service /etc/systemd/system/xkeysnail.service && echo "Copied service file to system..." || echo "Failed to create copy..."
|
||||
sudo cp "$xkeypath"xkeysnail.service /etc/systemd/system/graphical.target.wants/xkeysnail.service && echo "Copied service file to system for graphical target..." || echo "Failed to create copy for graphical target..."
|
||||
sudo chown -R root:root /etc/systemd/system/xkeysnail.service && echo "Ownership set for root..." || echo "Failed to set ownership..."
|
||||
|
Reference in New Issue
Block a user