This commit is contained in:
Jozef Steinhübl 2024-08-07 22:46:32 +02:00 committed by GitHub
commit 249add0d4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 36 additions and 1 deletions

View file

@ -1 +1,3 @@
This repository contains my configs, themes and other stuff that I'm using on void linux.
# <img src="https://voidlinux.org/assets/img/void_bg.png" width="24" /> Void Linux Configuration
My configuration files, themes and other stuff I daily use on my machine.

1
common/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
__pycache__

2
common/dump.py Normal file
View file

@ -0,0 +1,2 @@
def dump():
exit(1)

2
common/sync.py Normal file
View file

@ -0,0 +1,2 @@
def sync():
exit(1)

28
goog Executable file
View file

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