From d573e17a00205b56f735123ed7868d475929c7a2 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Wed, 15 Feb 2023 11:28:43 +0100 Subject: [PATCH] Small latex snippet imrpovement --- dotfiles/vscode-snippets/snippets/latex/core.json | 12 +----------- home/adrielus/features/cli/default.nix | 13 ++++++++++--- .../features/desktop/common/eww/widgets/eww.yuck | 2 +- hosts/nixos/tethys/default.nix | 1 + 4 files changed, 13 insertions(+), 15 deletions(-) diff --git a/dotfiles/vscode-snippets/snippets/latex/core.json b/dotfiles/vscode-snippets/snippets/latex/core.json index 07d494c..b609911 100644 --- a/dotfiles/vscode-snippets/snippets/latex/core.json +++ b/dotfiles/vscode-snippets/snippets/latex/core.json @@ -193,16 +193,6 @@ "description": "Create an aligned environment", "body": ["\\begin{aligned}", "\t$0", "\\end{aligned}"] }, - "Text explanation in math mode": { - "prefix": "texpl", - "description": "Explain a step using text in math mode", - "body": "&& \\text{($1)}$0" - }, - "Explanation in math mode": { - "prefix": "expl", - "description": "Explain a step in math mode", - "body": "&& ($1) $0" - }, "Let": { "prefix": "let", "description": "Let something equal something else", @@ -216,7 +206,7 @@ "Aligned display math": { "prefix": "maligned", "description": "Create an aligned display math environment", - "body": ["\\[", "\t\\begin{aligned}", "\t\t$0", "\t\\end{aligned}", "\\]"] + "body": ["\\begin{align}", "\t$0", "\\end{align}"] }, "System of equations": { "prefix": "eqsystem", diff --git a/home/adrielus/features/cli/default.nix b/home/adrielus/features/cli/default.nix index 0b969d2..61505a1 100644 --- a/home/adrielus/features/cli/default.nix +++ b/home/adrielus/features/cli/default.nix @@ -1,7 +1,14 @@ { pkgs, ... }: { - imports = [ ./exa.nix ./bat.nix ./ssh.nix -./git.nix ./starship.nix ./direnv.nix - ./fish ./tmux ]; + imports = [ + ./exa.nix + ./bat.nix + ./ssh.nix + ./git.nix + ./starship.nix + ./direnv.nix + ./fish + ./tmux + ]; # Enable bash programs.bash.enable = true; diff --git a/home/adrielus/features/desktop/common/eww/widgets/eww.yuck b/home/adrielus/features/desktop/common/eww/widgets/eww.yuck index 1b5693a..865ce3b 120000 --- a/home/adrielus/features/desktop/common/eww/widgets/eww.yuck +++ b/home/adrielus/features/desktop/common/eww/widgets/eww.yuck @@ -1 +1 @@ -/nix/store/f8zh6hv5f6d3nnm0wk6f3rkmfq6dnpg7-home-manager-files/.config/eww/eww.yuck \ No newline at end of file +/nix/store/jfni99vrwsgh0i4i2kjiv953aa0gqp2m-home-manager-files/.config/eww/eww.yuck \ No newline at end of file diff --git a/hosts/nixos/tethys/default.nix b/hosts/nixos/tethys/default.nix index f8eee9e..daf18d9 100644 --- a/hosts/nixos/tethys/default.nix +++ b/hosts/nixos/tethys/default.nix @@ -18,6 +18,7 @@ # A few ad-hoc settings hardware.opengl.enable = true; programs.kdeconnect.enable = true; + # i18n.inputMethod.enabled = "uim"; # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion system.stateVersion = "22.11";