mirror of https://github.com/ericonr/dotfiles.git
Correct Makefile for proper bin path. Use better GOBIN directory.
This commit is contained in:
parent
af470b3e93
commit
9d056e96aa
11
README.md
11
README.md
|
@ -4,18 +4,23 @@
|
||||||
|
|
||||||
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).
|
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).
|
||||||
|
|
||||||
In order to bring all files, use
|
In order to link all files, use
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ stow */
|
$ stow */
|
||||||
```
|
```
|
||||||
|
|
||||||
otherwise, for specific folders, use
|
otherwise, for specific folders, use
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ stow folder
|
$ stow folder
|
||||||
```
|
```
|
||||||
|
|
||||||
|
It's also recommended to create the `~/.local/bin` and `~/.local/share` directories before stowing the repository.
|
||||||
|
|
||||||
## Sway + Waybar
|
## Sway + Waybar
|
||||||
|
|
||||||
This setup, which can be found on `wm`, requires the following dependencies:
|
This setup, which can be found on `wm` and `script`, requires the following dependencies:
|
||||||
* Basic setup:
|
* Basic setup:
|
||||||
* `sway`: the Wayland compositor and tiling window manager.
|
* `sway`: the Wayland compositor and tiling window manager.
|
||||||
* `swaylock`
|
* `swaylock`
|
||||||
|
@ -43,3 +48,5 @@ This setup, which can be found on `wm`, requires the following dependencies:
|
||||||
* `playerctl`: player control from media keys.
|
* `playerctl`: player control from media keys.
|
||||||
* `grim`: screenshots on wayland.
|
* `grim`: screenshots on wayland.
|
||||||
* `slurp`: select a geometry on a wayland screen.
|
* `slurp`: select a geometry on a wayland screen.
|
||||||
|
|
||||||
|
**Obs:** A few needed programs can be installed by running the Makefile inside `sourcecode/`.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
set -x GOPATH $HOME/.cache/go
|
set -x GOPATH $HOME/.cache/go
|
||||||
|
set -x GOBIN $HOME/.local/bin
|
||||||
set -x GOTMPDIR /tmp/go-tmp
|
set -x GOTMPDIR /tmp/go-tmp
|
||||||
set -x GOCACHE /tmp/go-build
|
set -x GOCACHE /tmp/go-build
|
||||||
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
lnch
|
|
||||||
keyboard_layout_switcher
|
|
||||||
jediepcserver
|
|
|
@ -1,4 +1,4 @@
|
||||||
BUILD_DIR = ../script/.local/bin
|
BUILD_DIR ?= ~/.local/bin
|
||||||
|
|
||||||
GOSRC = $(wildcard *.go)
|
GOSRC = $(wildcard *.go)
|
||||||
GOTARGET = $(GOSRC:%.go=$(BUILD_DIR)/%)
|
GOTARGET = $(GOSRC:%.go=$(BUILD_DIR)/%)
|
||||||
|
|
Loading…
Reference in New Issue