Compare commits
No commits in common. "master" and "1.2.0" have entirely different histories.
@ -142,8 +142,6 @@ dark `tundra` variant with the soft harshness level.
|
|||||||
each of which is generated using the [Firefox `manifest.json`
|
each of which is generated using the [Firefox `manifest.json`
|
||||||
template](templates/apps/firefox/templates/none-dark.manifest.json).
|
template](templates/apps/firefox/templates/none-dark.manifest.json).
|
||||||
|
|
||||||
Static [light][4] and [dark][5] are additionally available.
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
# Switching themes
|
# Switching themes
|
||||||
@ -206,5 +204,3 @@ biome/harshness/mode. This can be done for any app config file.
|
|||||||
[1]: https://github.com/isa/TextMate-Themes/blob/master/monoindustrial.tmTheme
|
[1]: https://github.com/isa/TextMate-Themes/blob/master/monoindustrial.tmTheme
|
||||||
[2]: https://addons.mozilla.org/en-US/firefox/collections/18495484/monobiome/
|
[2]: https://addons.mozilla.org/en-US/firefox/collections/18495484/monobiome/
|
||||||
[3]: https://github.com/ologio/symconf
|
[3]: https://github.com/ologio/symconf
|
||||||
[4]: https://addons.mozilla.org/en-US/firefox/collections/18495484/monobiome-light/
|
|
||||||
[5]: https://addons.mozilla.org/en-US/firefox/collections/18495484/monobiome-dark/
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,7 +1,3 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# note: this script is not portable; to be run in the monobiome scripts/
|
|
||||||
# directory (notice the `rm` invocations)
|
|
||||||
|
|
||||||
rm -rf app-config/*
|
rm -rf app-config/*
|
||||||
symconf -c templates/ generate -o app-config
|
symconf -c templates/ generate -o app-config
|
||||||
|
|
||||||
@ -1,35 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# usage: render.sh width height [extra kitty args...]
|
|
||||||
# useful for reproducible screenshots of terminal/vim setups
|
|
||||||
|
|
||||||
set -euo pipefail
|
|
||||||
w=${1:?width}; h=${2:?height}
|
|
||||||
out="kitty-$(date +%Y%m%d-%H%M%S).png"
|
|
||||||
shift 2 || true
|
|
||||||
|
|
||||||
# spawn a kitty window w/ a mark
|
|
||||||
title="kitty-$(date +%s%N)"
|
|
||||||
kitty --title "$title" "$@" &
|
|
||||||
|
|
||||||
# create a targeted rule for the marked window and resize
|
|
||||||
sleep 2
|
|
||||||
swaymsg "for_window [title=\"$title\"] mark --add $title, floating enable, resize set width ${w} px height ${h} px, move position center" >/dev/null
|
|
||||||
|
|
||||||
# get the spawned window geometry
|
|
||||||
sleep 2
|
|
||||||
geom=$(swaymsg -t get_tree | jq -r --arg t "$title" '.. | select(.name? == $t) | .rect | "\(.x),\(.y) \(.width)x\(.height)"')
|
|
||||||
wgeom=$(swaymsg -t get_tree | jq -r --arg t "$title" '.. | select(.name? == $t) | .window_rect | "\(.x),\(.y) \(.width)x\(.height)"')
|
|
||||||
|
|
||||||
read gx gy _ < <(awk -F'[ ,x]' '{print $1,$2}' <<<"$geom")
|
|
||||||
read wx wy ww wh < <(awk -F'[ ,x]' '{print $1,$2,$3,$4}' <<<"$wgeom")
|
|
||||||
inner_geom="$((gx+wx)),$((gy+wy)) ${ww}x${wh}"
|
|
||||||
|
|
||||||
echo title=$title
|
|
||||||
echo geom=$geom
|
|
||||||
echo out=$out
|
|
||||||
|
|
||||||
# take a screenshot
|
|
||||||
mkdir -p "$(dirname "$out")"
|
|
||||||
grim -g "$inner_geom" "$out"
|
|
||||||
echo "saved: $out"
|
|
||||||
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
||||||
render_script="$script_dir/render.sh"
|
|
||||||
|
|
||||||
biomes=(alpine badlands chaparral savanna grassland tundra)
|
|
||||||
modes=(light dark)
|
|
||||||
|
|
||||||
for biome in "${biomes[@]}"; do
|
|
||||||
for mode in "${modes[@]}"; do
|
|
||||||
symconf config -m "$mode" -s "default-$biome-monobiome"
|
|
||||||
sleep 5
|
|
||||||
"$render_script" 800 600 nvim \
|
|
||||||
+':highlight Cursor blend=100' \
|
|
||||||
+':set guicursor=n:block-Cursor' \
|
|
||||||
+':silent! setlocal nonumber nocursorline signcolumn=no foldcolumn=no' \
|
|
||||||
examples/runner.py
|
|
||||||
Loading…
x
Reference in New Issue
Block a user