Skip to content

Commit 84ef277

Browse files
committed
add new hhd bang
1 parent 0b9cd46 commit 84ef277

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

hhd_cmd.sh

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/bash
2+
# Runs a new handheld daemon version until reboot
3+
sudo systemctl stop hhd@$(whoami)
4+
sudo systemctl stop hhd_local@$(whoami)
5+
sudo pkill hhd
6+
7+
rm -rf ~/.local/share/hhd-tmp
8+
mkdir -p ~/.local/share/hhd-tmp
9+
python -m venv --system-site-packages ~/.local/share/hhd-tmp/venv
10+
~/.local/share/hhd-tmp/venv/bin/pip install git+https://github.com/hhd-dev/adjustor git+https://github.com/hhd-dev/hhd
11+
12+
sudo ~/.local/share/hhd-tmp/venv/bin/hhd --user $(whoami)

local_hhd.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)