mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +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/xactive.sh ~/.config/kinto/xactive.sh
|
||||||
cp ./system-config/caret_status.sh ~/.config/kinto/caret_status.sh
|
cp ./system-config/caret_status.sh ~/.config/kinto/caret_status.sh
|
||||||
cp ./system-config/cleanup.sh ~/.config/kinto/cleanup.sh
|
cp ./system-config/cleanup.sh ~/.config/kinto/cleanup.sh
|
||||||
cp ./system-config/.firefox ~/.config/kinto/.firefox
|
cp ./system-config/.firefox-nw ~/.config/kinto/.firefox-nw
|
||||||
cp ./system-config/.chrome-ww ~/.config/kinto/.chrome-ww
|
|
||||||
cp ./system-config/.chrome-nw ~/.config/kinto/.chrome-nw
|
|
||||||
sed -i "s/{username}/`whoami`/g" ~/.config/systemd/user/keyswap.service
|
sed -i "s/{username}/`whoami`/g" ~/.config/systemd/user/keyswap.service
|
||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
systemctl --user enable keyswap
|
systemctl --user enable keyswap
|
||||||
|
7
setup.py
7
setup.py
@@ -24,17 +24,14 @@ def requirements():
|
|||||||
print("\n")
|
print("\n")
|
||||||
|
|
||||||
check_xbind = symbols_gui_line = cmdline("which xbindkeys").strip()
|
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()
|
check_xdotool = symbols_gui_line = cmdline("which xdotool").strip()
|
||||||
|
|
||||||
runpkg = 0
|
runpkg = 0
|
||||||
|
|
||||||
if len(check_xbind) > 0 and len(check_xte) > 0 and len(check_xdotool) > 0:
|
if len(check_xbind) > 0 and len(check_xdotool) > 0:
|
||||||
print("Xbindkeys, xdotool and xte requirement is installed.")
|
print("Xbindkeys, and xdotool requirement is installed.")
|
||||||
if len(check_xbind) == 0:
|
if len(check_xbind) == 0:
|
||||||
run_pkg = "xbindkeys"
|
run_pkg = "xbindkeys"
|
||||||
if len(check_xte) == 0:
|
|
||||||
run_pkg += " xautomation"
|
|
||||||
if len(check_xdotool) == 0:
|
if len(check_xdotool) == 0:
|
||||||
run_pkg += " xdotool"
|
run_pkg += " xdotool"
|
||||||
|
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
"name": "firefox",
|
"name": "firefox",
|
||||||
"run": "",
|
"run": "",
|
||||||
"run_onInput": "killall xbindkeys > /dev/null 2>&1",
|
"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": "",
|
"symbols": "",
|
||||||
"types": "",
|
"types": "",
|
||||||
"de": [],
|
"de": [],
|
||||||
|
Reference in New Issue
Block a user