mirror of
https://github.com/xHyroM/dotfiles.git
synced 2024-11-23 23:21:06 +01:00
Merge 2ec630fdbf
into 55170f6eae
This commit is contained in:
commit
249add0d4f
5 changed files with 36 additions and 1 deletions
|
@ -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
1
common/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
__pycache__
|
2
common/dump.py
Normal file
2
common/dump.py
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
def dump():
|
||||||
|
exit(1)
|
2
common/sync.py
Normal file
2
common/sync.py
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
def sync():
|
||||||
|
exit(1)
|
28
goog
Executable file
28
goog
Executable 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)
|
Loading…
Reference in a new issue