Added Mako configuration.

This commit is contained in:
James Patrick 2019-05-02 01:18:39 -04:00
parent 325f831796
commit 93dfad09b4
2 changed files with 30 additions and 0 deletions

7
mako/config Normal file
View File

@ -0,0 +1,7 @@
font=FuraCode Nerd Font Light 11
width=450
padding=15,10
background-color=#161720ee
border-color=#12151a
text-color=#d6e5fb
default-timeout=8000

23
mako/makefile Normal file
View File

@ -0,0 +1,23 @@
SRC := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
include ../lib/shared.mk
TARGET := $(XDG_DIR)/mako
install: | init update
init:
ifeq ($(call cmd_exist,mako), true)
$(info => Setting up mako)
$(mk_link) $(SRC) $(TARGET)
endif
update:
ifeq ($(call cmd_exist,makoctl), true)
$(info => Reloading mako)
[[ -n `pgrep mako` ]] \
&& ( makoctl reload ; $(report) "mako reload") ; true
endif
remove:
$(info => Remvoing sway)
$(rm_link) $(TARGET)