Compare commits
No commits in common. "ebd1a40e37f4203d037f4fa359814cf94236fc14" and "e5dcd09807b9872b10aabd5cc9d92e0e9f040693" have entirely different histories.
ebd1a40e37
...
e5dcd09807
5 changed files with 12 additions and 13 deletions
11
Makefile
11
Makefile
|
@ -1,24 +1,23 @@
|
||||||
|
.PHONY: lint lint.py lint.sh
|
||||||
|
|
||||||
## lint | lint.*
|
## lint | lint.*
|
||||||
.PHONY: lint
|
|
||||||
lint: lint.py lint.sh
|
lint: lint.py lint.sh
|
||||||
|
|
||||||
## lint.python | lint python files
|
## lint.python | lint python files
|
||||||
.PHONY: lint.python
|
|
||||||
lint.python:
|
lint.python:
|
||||||
black $(shell find -type f -name "*.py")
|
black $(shell find -type f -name "*.py")
|
||||||
|
|
||||||
## lint.sh | lint shell files
|
## lint.sh | lint shell files
|
||||||
.PHONY: lint.sh
|
|
||||||
lint.sh:
|
lint.sh:
|
||||||
shfmt -s -w $(shell shfmt -f .)
|
shfmt -s -w $(shell shfmt -f .)
|
||||||
|
|
||||||
|
.PHONY: $(addprefix d-,b r build run)
|
||||||
|
|
||||||
## db, d-build | build docker image
|
## db, d-build | build docker image
|
||||||
.PHONY: db d-build
|
|
||||||
db d-build:
|
db d-build:
|
||||||
docker build -f docker/Dockerfile -t dots .
|
docker build -f docker/Dockerfile -t dots .
|
||||||
|
|
||||||
## dr, d-run | run docker image
|
## dr, d-run | run docker image
|
||||||
.PHONY: dr d-run
|
|
||||||
dr d-run:
|
dr d-run:
|
||||||
docker run --rm -it dots
|
docker run --rm -it dots
|
||||||
|
|
||||||
|
@ -30,4 +29,4 @@ dr-keep:
|
||||||
GOAL_COLOR = b_magenta
|
GOAL_COLOR = b_magenta
|
||||||
HELP_SEP = ->>
|
HELP_SEP = ->>
|
||||||
-include .task.mk
|
-include .task.mk
|
||||||
$(if $(wildcard .task.mk),,.task.mk: ; curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/v22.9.5/task.mk -o .task.mk)
|
$(if $(filter help,$(MAKECMDGOALS)),.task.mk: ; curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/v22.9.5/task.mk -o .task.mk)
|
||||||
|
|
|
@ -11,3 +11,4 @@ unclutter --timeout 1 &
|
||||||
~/.config/qtile/.colors/colors.py
|
~/.config/qtile/.colors/colors.py
|
||||||
|
|
||||||
SKIP_WM_RESET=1 autorandr -c --default default
|
SKIP_WM_RESET=1 autorandr -c --default default
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
local opt = vim.opt
|
local opt = vim.opt
|
||||||
opt.timeoutlen = 200
|
opt.timeoutlen = 200
|
||||||
-- opt.cmdheight = 0 -- broken??
|
-- opt.cmdheight = 0 -- broken??
|
||||||
opt.listchars:append({ tab = "⍿·", trail = "×" })
|
|
||||||
vim.opt.list = true
|
|
||||||
|
|
||||||
-- lvim specific settings
|
-- lvim specific settings
|
||||||
-- general
|
-- general
|
||||||
|
|
|
@ -2,9 +2,10 @@
|
||||||
format = "[$user]($style) on "
|
format = "[$user]($style) on "
|
||||||
|
|
||||||
[character]
|
[character]
|
||||||
success_symbol = "[🢂](bold green)[🢂](bold yellow)[🢂](bold cyan)"
|
success_symbol = "[❯](bold green)[❯](bold yellow)[❯](bold cyan)"
|
||||||
|
# success_symbol = "[⁘](bold green)[⁘](bold yellow)[⁘](bold cyan)"
|
||||||
error_symbol = "[✗](bold red) "
|
error_symbol = "[✗](bold red) "
|
||||||
|
# ⁘
|
||||||
[gcloud]
|
[gcloud]
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,7 @@ help() {
|
||||||
}
|
}
|
||||||
|
|
||||||
format-qmd() {
|
format-qmd() {
|
||||||
# TODO: add support for outputs
|
# TODO: add support for outputs
|
||||||
jupytext --from qmd $1 --pipe black
|
jupytext --from qmd $1 --pipe black
|
||||||
jupytext --from qmd $1 --pipe black --opt 'notebook_metadata_filter=-all'
|
jupytext --from qmd $1 --pipe black --opt 'notebook_metadata_filter=-all'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue