Added Mako configuration.
This commit is contained in:
parent
325f831796
commit
93dfad09b4
7
mako/config
Normal file
7
mako/config
Normal 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
23
mako/makefile
Normal 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)
|
Loading…
Reference in New Issue
Block a user