mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-02 00:56:39 +02:00
- Added some changes to firefox and app requirements for keybinding browsers
This commit is contained in:
@@ -14,9 +14,7 @@ cp ./kintox11/binary/kintox11 ~/.config/kinto/kintox11
|
||||
cp ./system-config/xactive.sh ~/.config/kinto/xactive.sh
|
||||
cp ./system-config/caret_status.sh ~/.config/kinto/caret_status.sh
|
||||
cp ./system-config/cleanup.sh ~/.config/kinto/cleanup.sh
|
||||
cp ./system-config/.firefox ~/.config/kinto/.firefox
|
||||
cp ./system-config/.chrome-ww ~/.config/kinto/.chrome-ww
|
||||
cp ./system-config/.chrome-nw ~/.config/kinto/.chrome-nw
|
||||
cp ./system-config/.firefox-nw ~/.config/kinto/.firefox-nw
|
||||
sed -i "s/{username}/`whoami`/g" ~/.config/systemd/user/keyswap.service
|
||||
systemctl --user daemon-reload
|
||||
systemctl --user enable keyswap
|
||||
|
7
setup.py
7
setup.py
@@ -24,17 +24,14 @@ def requirements():
|
||||
print("\n")
|
||||
|
||||
check_xbind = symbols_gui_line = cmdline("which xbindkeys").strip()
|
||||
check_xte = symbols_gui_line = cmdline("which xte").strip()
|
||||
check_xdotool = symbols_gui_line = cmdline("which xdotool").strip()
|
||||
|
||||
runpkg = 0
|
||||
|
||||
if len(check_xbind) > 0 and len(check_xte) > 0 and len(check_xdotool) > 0:
|
||||
print("Xbindkeys, xdotool and xte requirement is installed.")
|
||||
if len(check_xbind) > 0 and len(check_xdotool) > 0:
|
||||
print("Xbindkeys, and xdotool requirement is installed.")
|
||||
if len(check_xbind) == 0:
|
||||
run_pkg = "xbindkeys"
|
||||
if len(check_xte) == 0:
|
||||
run_pkg += " xautomation"
|
||||
if len(check_xdotool) == 0:
|
||||
run_pkg += " xdotool"
|
||||
|
||||
|
@@ -22,7 +22,7 @@
|
||||
"name": "firefox",
|
||||
"run": "",
|
||||
"run_onInput": "killall xbindkeys > /dev/null 2>&1",
|
||||
"run_offInput": "killall xbindkeys > /dev/null 2>&1;xbindkeys -f $HOME/.config/kinto/.firefox",
|
||||
"run_offInput": "killall xbindkeys > /dev/null 2>&1;xbindkeys -f $HOME/.config/kinto/.firefox-nw",
|
||||
"symbols": "",
|
||||
"types": "",
|
||||
"de": [],
|
||||
|
Reference in New Issue
Block a user