1
0
Fork 0

add pomky setup script

This commit is contained in:
Kim, Jimin 2022-07-01 14:26:19 +09:00
parent 8c5423e257
commit 07612ea0ee

15
src/setup/apps/pomky.py Normal file
View file

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