diff --git a/README.md b/README.md index bbfa28f..d63185f 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Uses [GNU stow](https://www.gnu.org/software/stow/) for managing symlinks! The default `.stowrc` file is setup for my home directory, and for adopting files (overwrite existing files, bringing them into the repo). +Also uses [Go](https://golang.org/) programs to perform a few tasks. + In order to link all files, use ```bash @@ -50,3 +52,15 @@ This setup, which can be found on `wm` and `script`, requires the following depe * `slurp`: select a geometry on a wayland screen. **Obs:** A few needed programs can be installed by running the Makefile inside `sourcecode/`. + +**Obs.:** This configuration requires some executables that can be obtained from the `sourcecode/` directory. + +## `sourcecode` + +To install the executables inside this directory, it's necessary to run + +```shell +go install ./... +``` + +inside it. diff --git a/sourcecode/Makefile b/sourcecode/Makefile deleted file mode 100644 index ddb2931..0000000 --- a/sourcecode/Makefile +++ /dev/null @@ -1,18 +0,0 @@ -BUILD_DIR ?= ~/.local/bin - -GOSRC = $(wildcard *.go) -GOTARGET = $(GOSRC:%.go=$(BUILD_DIR)/%) - -TARGETS = $(GOTARGET) - -.PHONY: all go clean - -all: go - -go: $(GOTARGET) - -$(BUILD_DIR)/%: %.go - go build -o $@ $< - -clean: - rm -f $(TARGETS) diff --git a/sourcecode/keyboard_layout_switcher.go b/sourcecode/keyboard_layout_switcher/main.go similarity index 100% rename from sourcecode/keyboard_layout_switcher.go rename to sourcecode/keyboard_layout_switcher/main.go diff --git a/sourcecode/lnch.go b/sourcecode/lnch/main.go similarity index 100% rename from sourcecode/lnch.go rename to sourcecode/lnch/main.go