Compare commits

...

6 Commits

Author SHA1 Message Date
ac2ee63fbe
nvim: bump plugins 2024-05-27 19:41:52 -04:00
34ff818e1b
qutebrowser: use Inter font 2024-05-27 19:34:49 -04:00
9c90ea96c6
nvim: misc typst snippet changes 2024-05-27 19:34:13 -04:00
e9a1313914
mpv: misc changes
exact seek, bind for chapters
2024-05-27 19:33:41 -04:00
ff53261da4
picom: turn on shadow 2024-05-27 19:33:11 -04:00
9be9b267d5
mpv: misc updates
new coat of paint and stuff
2024-05-10 17:35:33 -04:00
28 changed files with 82 additions and 31 deletions

View File

@ -4,6 +4,7 @@
ttf-jetbrains-mono
wqy-microhei
ttf-roboto
inter-font
noto-fonts
noto-fonts-emoji
git

View File

@ -1,6 +1,9 @@
CTRL+p script-message osc-playlist
CTRL+j seek 2
CTRL+k seek -2
CTRL+shift+p script-message osc-chapterlist 7
CTRL+e script-message osc-visibility always ''
CTRL+r script-message osc-visibility auto ''
CTRL+j seek 1
CTRL+k seek -1
# filters
F1 vf toggle random

View File

@ -1,5 +1,12 @@
osd-status-msg=${playback-time/full} / ${duration} (${percent-pos}%)\nframe: ${estimated-frame-number} / ${estimated-frame-count}
osd-font="Inter Display"
osd-font-size=40
osd-blur=0
input-ipc-server="/tmp/mpv-socket"
save-position-on-quit
volume=70
ytdl-format="bestvideo[height<=?1080]+bestaudio/best"
# exact seek
hr-seek=yes

View File

@ -0,0 +1 @@
layout=slimbox

View File

@ -0,0 +1,2 @@
font="Inter Display"
font_size=8

View File

@ -45,7 +45,7 @@ local options = {
strict_filesize_constraint = true,
strict_bitrate_multiplier = 0.95,
-- In kilobits.
strict_audio_bitrate = 64,
strict_audio_bitrate = 128,
-- Sets the output format, from a few predefined ones.
-- Currently we have:
-- webm-vp8 (libvpx/libvorbis)
@ -60,7 +60,7 @@ local options = {
-- If set, applies the video filters currently used on the playback to the encode.
apply_current_filters = true,
-- If set, writes the video's filename to the "Title" field on the metadata.
write_filename_on_metadata = false,
write_filename_on_metadata = true,
-- Set the number of encoding threads, for codecs libvpx and libvpx-vp9
libvpx_threads = 4,
additional_flags = "",

View File

@ -16,8 +16,15 @@ require("noirbuddy").setup({
preset = "slate",
})
local colorbuddy = require("colorbuddy")
-- force transparent bg
local Color, colors, Group, groups, styles = require("colorbuddy").setup {}
local colors = colorbuddy.colors
local Group = colorbuddy.Group
local groups = colorbuddy.groups
local styles = colorbuddy.styles
Group.new("Normal", colors.noir_4, colors.none, nil)
Group.new("StatusLine", colors.noir_4, colors.none, styles.bold)
-- not selected statusline

View File

@ -5,9 +5,9 @@ return {
--------------------------------
--------------------------------
s({ trig = "ss", name = "superscript", wordTrig = false }, fmt("^({}) ", { i(1) })),
s({ trig = "qu", name = "square (qu-artic) exponent", wordTrig = false }, t("^2 ")),
s({ trig = "cub", name = "cub-ed exponent", wordTrig = false }, t("^3 ")),
s({ trig = "ss", name = "superscript", wordTrig = false }, fmt("^({})", { i(1) })),
s({ trig = "qu", name = "square (qu-artic) exponent", wordTrig = false }, t("^2")),
s({ trig = "cub", name = "cub-ed exponent", wordTrig = false }, t("^3")),
s({
trig = "numb",
@ -34,6 +34,31 @@ return {
i(2),
})),
s({
trig = "qty",
name = "quantity + unit",
wordTrig = false
},
fmt(
[[#qty("{}", "{}")]],
{
i(1, "numb"),
i(2, "unit")
})),
s({
trig = "pq",
name = "percentage error quantity",
wordTrig = false
},
fmt(
[[#pq("{}", "{}", "{}")]],
{
i(1, "numb"),
i(2, "unit"),
i(3, "percentage error"),
})),
--------------------------------
--------------------------------
-- figures

View File

@ -23,7 +23,7 @@ enable-fading-next-tag = true;
vsync = false;
# shadow
shadow = false;
shadow = true;
shadow-radius = 12;
shadow-offset-x = -7;
shadow-offset-y = -7;
@ -36,3 +36,8 @@ fade-delta = 5;
# corner
corner-radius = 5;
# blur: {
# method = "dual_kawase",
# strength = 5,
# };

View File

@ -34,13 +34,13 @@ c.prompt.radius = 0
# Fonts
c.fonts.default_size = "13pt"
c.fonts.default_family = "Liberation Sans"
c.fonts.default_family = "Inter Display"
c.fonts.prompts = "default_size default_family"
c.fonts.tooltip = "default_size default_family"
c.fonts.web.family.serif = "Liberation Sans"
c.fonts.web.family.sans_serif = "Liberation Sans"
c.fonts.web.family.standard = "Liberation Sans"
c.fonts.web.family.serif = "Inter"
c.fonts.web.family.sans_serif = "Inter"
c.fonts.web.family.standard = "Inter"
c.fonts.web.family.fixed = "JetBrains Mono"
config.bind("td", "config-cycle colors.webpage.darkmode.enabled true false;; restart")

@ -1 +1 @@
Subproject commit 825a61bad1d60d917a7962d73cf3c683f4e0407e
Subproject commit 878ace11983444d865a72e1759dbcc331d1ace4c

@ -1 +1 @@
Subproject commit 5af77f54de1b16c34b23cba810150689a3a90312
Subproject commit 39e2eda76828d88b773cc27a3f61d2ad782c922d

@ -1 +1 @@
Subproject commit cdb5b0654d3cafe61d2a845e15b2b4b0e78e752a
Subproject commit 8b968581e5c19d22a861d5f3fe5dbd83394fa681

@ -1 +1 @@
Subproject commit 6f212262061a2120e42da0d1e87326e8a41c0478
Subproject commit 3c38ac861e1b8d4077ff46a779cde17330b29f3a

@ -1 +1 @@
Subproject commit 04e0ca376d6abdbfc8b52180f8ea236cbfddf782
Subproject commit 5260e5e8ecadaf13e6b82cf867a909f54e15fd07

@ -1 +1 @@
Subproject commit 405df1dcc2e395ab5173a9c3d00e03942c023074
Subproject commit 922ebc75c2fa9305e36402fbd8c984c8638770a0

@ -1 +1 @@
Subproject commit edfa93f60b189e5952c016eee262d0685d838450
Subproject commit 334cf3038c4756e6ab999cbac67c847fb654c190

@ -1 +1 @@
Subproject commit c932a56bf25167b1e88d2a1ebe35bb774b41019a
Subproject commit d70633830acf605ec03d9728698d9e7232442eb4

@ -1 +1 @@
Subproject commit 33c62b3eadd8154169e42144de16ba4db6784bec
Subproject commit 632024157d01e8bc48fd7df6a7de8ffe3fdd4f3a

@ -1 +1 @@
Subproject commit 131b032debf1d9aebd096f41bb3fb7b9e1545b7c
Subproject commit f3e35f42cf3f08b7351a69bf3a92b7e80a564f30

@ -1 +1 @@
Subproject commit 63ca90eaa3ce1cc668add8828a9e3d6728dbbdf1
Subproject commit aa02427dfeaead86fae038024ae7b29299f08b8c

@ -1 +1 @@
Subproject commit f5183cea0fda26126e22e789382c208e7b1120f4
Subproject commit 3557e41418b4a6c5b85d5d64abe94c9c50fa9b14

@ -1 +1 @@
Subproject commit 4f71c0c4a196ceb656c824a70792f3df3ce6bb6d
Subproject commit a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683

@ -1 +1 @@
Subproject commit aa83606299c5beeaf80e656efbf07bde258db7be
Subproject commit 2df52609a1632de5d77a0b2416db6ad9cf32e463

@ -1 +1 @@
Subproject commit f1168feada93c0154ede4d1fe9183bf69bac54ea
Subproject commit a8264a65a0b894832ea642844f5b7c30112c458f

@ -1 +1 @@
Subproject commit ff57d27cf5ee7427941a63fb537714f9a80e0246
Subproject commit d9a7650e76c85f8ba437e056d08dd43b01b8bfd6

@ -1 +1 @@
Subproject commit 67ef116100b40f9ca128196504a2e0bc0a2753b0
Subproject commit e801371917e52805a4ceb1e93f55ed1fba712f82

@ -1 +1 @@
Subproject commit 281346a221434574dd7f8767a352b2bf0b218b74
Subproject commit 7b97c8765bf920e92fd950a7a5bc37cb2b13a494