- Added some changes to firefox and app requirements for keybinding browsers

This commit is contained in:
Ben Reaves
2020-02-17 14:46:34 -06:00
parent 9dc026695b
commit 16c4378c2e
3 changed files with 4 additions and 9 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -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": [],