Compare commits
5 commits
e5dcd09807
...
ebd1a40e37
Author | SHA1 | Date | |
---|---|---|---|
ebd1a40e37 | |||
acdfc584b7 | |||
f6a1e103cc | |||
023f0fb9c6 | |||
59141c8874 |
5 changed files with 13 additions and 12 deletions
11
Makefile
11
Makefile
|
@ -1,23 +1,24 @@
|
||||||
.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
|
||||||
|
|
||||||
|
@ -29,4 +30,4 @@ dr-keep:
|
||||||
GOAL_COLOR = b_magenta
|
GOAL_COLOR = b_magenta
|
||||||
HELP_SEP = ->>
|
HELP_SEP = ->>
|
||||||
-include .task.mk
|
-include .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)
|
$(if $(wildcard .task.mk),,.task.mk: ; curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/v22.9.5/task.mk -o .task.mk)
|
||||||
|
|
|
@ -11,4 +11,3 @@ 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,6 +2,8 @@
|
||||||
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,10 +2,9 @@
|
||||||
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