diff --git a/README.md b/README.md index b6ff77e..00ba2b6 100644 --- a/README.md +++ b/README.md @@ -1 +1,3 @@ -This repository contains my configs, themes and other stuff that I'm using on void linux. +# Void Linux Configuration + +My configuration files, themes and other stuff I daily use on my machine. diff --git a/common/.gitignore b/common/.gitignore new file mode 100644 index 0000000..bee8a64 --- /dev/null +++ b/common/.gitignore @@ -0,0 +1 @@ +__pycache__ diff --git a/common/dump.py b/common/dump.py new file mode 100644 index 0000000..b80b22c --- /dev/null +++ b/common/dump.py @@ -0,0 +1,2 @@ +def dump(): + exit(1) diff --git a/common/sync.py b/common/sync.py new file mode 100644 index 0000000..033cc64 --- /dev/null +++ b/common/sync.py @@ -0,0 +1,2 @@ +def sync(): + exit(1) diff --git a/goog b/goog new file mode 100755 index 0000000..8347d70 --- /dev/null +++ b/goog @@ -0,0 +1,28 @@ +#!/usr/bin/env python3 + +from getopt import getopt +import sys + +from common.dump import dump +from common.sync import sync + +stuff = { + "~/.config/{kitty,nvim,openbox,pipewire,tint2,zed}", + "~/.themes", + "~/.local/bin/{yarn}" +} + +options, _ = getopt(sys.argv[1:], "ds", ["dump", "sync"]) + +for option, _ in options: + if option in ("-d", "--dump"): + dump(stuff) + break + + if option in ("-s", "--sync"): + sync(stuff) + break + +print("Usage: ./goog [-d | --dump] [-s | --sync]\n") +print("A simple tool for dumping dotfiles and syncing them") +exit(1)