mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-14 08:53:47 +01:00
improve mzteinit colors
This commit is contained in:
parent
c39644a5a3
commit
6694786a5c
2 changed files with 2 additions and 1 deletions
1
justfile
1
justfile
|
@ -14,6 +14,7 @@ zls-bin
|
||||||
install-scripts target=(`echo $HOME` + "/.local/bin"): build-scripts
|
install-scripts target=(`echo $HOME` + "/.local/bin"): build-scripts
|
||||||
cp scripts/randomwallpaper/zig-out/bin/randomwallpaper {{target}}/randomwallpaper
|
cp scripts/randomwallpaper/zig-out/bin/randomwallpaper {{target}}/randomwallpaper
|
||||||
cp scripts/playtwitch/zig-out/bin/playtwitch {{target}}/playtwitch
|
cp scripts/playtwitch/zig-out/bin/playtwitch {{target}}/playtwitch
|
||||||
|
rm {{target}}/mzteinit || true
|
||||||
cp scripts/mzteinit/zig-out/bin/mzteinit {{target}}/mzteinit
|
cp scripts/mzteinit/zig-out/bin/mzteinit {{target}}/mzteinit
|
||||||
|
|
||||||
ln -sf \
|
ln -sf \
|
||||||
|
|
|
@ -30,7 +30,7 @@ fn ui() !run.Command {
|
||||||
|
|
||||||
var style: ?at.style.Style = null;
|
var style: ?at.style.Style = null;
|
||||||
for (std.enums.values(run.Command)) |tag| {
|
for (std.enums.values(run.Command)) |tag| {
|
||||||
try updateStyle(w, .{ .foreground = .Blue }, &style);
|
try updateStyle(w, .{ .foreground = .Cyan }, &style);
|
||||||
try w.print("[{c}] ", .{tag.char()});
|
try w.print("[{c}] ", .{tag.char()});
|
||||||
try updateStyle(w, .{ .foreground = .Green }, &style);
|
try updateStyle(w, .{ .foreground = .Green }, &style);
|
||||||
try w.print("{s}\n", .{@tagName(tag)});
|
try w.print("{s}\n", .{@tagName(tag)});
|
||||||
|
|
Loading…
Reference in a new issue