File tree Expand file tree Collapse file tree 2 files changed +36
-4
lines changed
Expand file tree Collapse file tree 2 files changed +36
-4
lines changed Original file line number Diff line number Diff line change 11# Define variables for easy configuration
22GO =go
33BINARY_NAME =hyprhaven
4- LDFLAGS =-s -w
4+ LDFLAGS =-s -w
55
66# Default target, will build the binary
77all : build
3636
3737# Cross-compile for different platforms (Linux/Windows/macOS)
3838build-linux :
39- GOOS=linux GOARCH=amd64 $(GO ) build -o $(BINARY_NAME ) .
39+ GOOS=linux GOARCH=amd64 $(GO ) build -ldflags " $( LDFLAGS) " -o $(BINARY_NAME ) .
40+
41+ build-windows-debug :
42+ GOOS=windows GOARCH=amd64 $(GO ) build -ldflags " $( LDFLAGS) " -o $(BINARY_NAME ) .exe .
4043
4144build-windows :
42- GOOS=windows GOARCH=amd64 $(GO ) build -o $(BINARY_NAME ) .exe .
45+ GOOS=windows GOARCH=amd64 $(GO ) build -ldflags " $( LDFLAGS ) -H windowsgui " - o $(BINARY_NAME ) .exe .
4346
4447build-darwin :
45- GOOS=darwin GOARCH=amd64 $(GO ) build -o $(BINARY_NAME ) .
48+ GOOS=darwin GOARCH=amd64 $(GO ) build -ldflags " $( LDFLAGS ) " - o $(BINARY_NAME ) .
4649
Original file line number Diff line number Diff line change 1+ <h1 align =" center " >Hyprhaven</h1 >
2+
3+ <p align =" center " >Tired of your own wallpaper collection? Hyprhaven has you covered</p >
4+
5+ ## About
6+
7+ This script fetches wallpapers from [ wallhaven.cc] ( https://wallhaven.cc/ ) and sets it as desktop image
8+
9+ ## Install
10+
11+ ### Windows
12+
13+ TBD
14+
15+ ## Build
16+
17+ 1 . Run makefile
18+
19+ ` make `
20+
21+ ## Configuration
22+
23+ TBD
24+
25+ ## API key
26+
27+ API key is not required, if you don't plan on using your [ wallhaven.cc] ( https://wallhaven.cc/ ) presets or NSFW search
28+
29+ TBD
You can’t perform that action at this time.
0 commit comments