From 07612ea0ee99259a922f8d5ef60f8bfa2fecdc2d Mon Sep 17 00:00:00 2001 From: developomp Date: Fri, 1 Jul 2022 14:26:19 +0900 Subject: [PATCH] add pomky setup script --- src/setup/apps/pomky.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/setup/apps/pomky.py diff --git a/src/setup/apps/pomky.py b/src/setup/apps/pomky.py new file mode 100644 index 0000000..4b1b519 --- /dev/null +++ b/src/setup/apps/pomky.py @@ -0,0 +1,15 @@ +from os import system +from src.util import silent_system, copy_file +from src.constants import tmp_dir + +name = "pomky" + + +def setup(): + """conky but rusty""" + + silent_system( + f"git clone --depth 1 https://github.com/developomp/pomky {tmp_dir}/pomky" + ) + silent_system(f"cd {tmp_dir}/pomky && cargo install --path .") + copy_file("home/.config/autostart/pomky.desktop")