mirror of
https://github.com/zoriya/flake.git
synced 2026-05-30 09:39:01 +00:00
Fix usql theme
This commit is contained in:
@@ -132,6 +132,7 @@
|
||||
kustomize
|
||||
docker_28
|
||||
kubebuilder
|
||||
sqlcmd
|
||||
go
|
||||
];
|
||||
home.sessionVariables = {
|
||||
|
||||
+11
-1
@@ -1,4 +1,8 @@
|
||||
{pkgs, lib, ...}: let
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
wallpaper = pkgs.writeShellScriptBin "wallpaper" ''
|
||||
WALLPAPERS=~/wallpapers/
|
||||
|
||||
@@ -57,6 +61,12 @@ in {
|
||||
else "-dark";
|
||||
in "${pkgs.glib}/bin/gsettings set org.gnome.desktop.interface gtk-theme adw-gtk3${suffix}";
|
||||
kubecolor = "echo 'preset: ${theme}' > ~/.kube/color.yaml";
|
||||
usql = let
|
||||
suffix =
|
||||
if theme == "light"
|
||||
then "latte"
|
||||
else "mocha";
|
||||
in "echo 'init: \set SYNTAX_HL_STYLE catppuccin-${suffix}' > ~/.config/usql/config.yaml";
|
||||
};
|
||||
in {
|
||||
enable = true;
|
||||
|
||||
@@ -159,5 +159,6 @@ in
|
||||
|
||||
# repl
|
||||
usql
|
||||
mono
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user