From fa9a5caea60f477247b55ce39e0870a063b93a35 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Wed, 15 Jan 2025 14:44:32 +0100 Subject: [PATCH] do a bunch of shit --- .../home/panels/eww/configDir/scripts/bat.nu | 6 +----- modules/desktop/firefox.nix | 1 + modules/shell/helix.nix | 19 +++++++++---------- modules/shell/nu/aliases.nu | 3 +++ 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/modules/desktop-environment/home/panels/eww/configDir/scripts/bat.nu b/modules/desktop-environment/home/panels/eww/configDir/scripts/bat.nu index 4136585..fc2efae 100755 --- a/modules/desktop-environment/home/panels/eww/configDir/scripts/bat.nu +++ b/modules/desktop-environment/home/panels/eww/configDir/scripts/bat.nu @@ -40,11 +40,7 @@ def get_bat_charging_status [ ] { let status = open $"/sys/class/power_supply/($path)/status"; - if ($status == Charging) { - true - } else { - false - } + $status like Charging } def get_bat_icon [ diff --git a/modules/desktop/firefox.nix b/modules/desktop/firefox.nix index 9cfc37a..b52c74c 100644 --- a/modules/desktop/firefox.nix +++ b/modules/desktop/firefox.nix @@ -32,6 +32,7 @@ "return-youtube-dislikes" "multi-account-containers" "tabby-cat-friend" + "indie-wiki-buddy" ]; Extensions.Uninstall = [ "google@search.mozilla.org" diff --git a/modules/shell/helix.nix b/modules/shell/helix.nix index 53ea07e..8bf82af 100644 --- a/modules/shell/helix.nix +++ b/modules/shell/helix.nix @@ -31,15 +31,15 @@ bufferline = "multiple"; color-modes = true; cursorline = true; - auto-save = { - focus-lost = true; - after-delay.enable = true; - after-delay.timeout = 10000; - }; + # auto-save = { + # focus-lost = true; + # after-delay.enable = true; + # after-delay.timeout = 10000; + # }; auto-format = true; end-of-line-diagnostics = "hint"; # slightly optimized based on my layout - jump-label-alphabet = "jfkdaslghwenuiopbcmyzqrtvx"; + jump-label-alphabet = "jfkdhaslgwenuiopbcmyzqrtvx"; clipboard-provider = "wayland"; inline-diagnostics = { cursor-line = "hint"; @@ -75,20 +75,19 @@ indent-guides = { render = true; character = "│"; - skip-levels = 2; + skip-levels = 3; }; soft-wrap = { enable = true; }; whitespace = { render = { - space = "all"; + space = "none"; tab = "all"; newline = "none"; }; characters = { - space = "·"; - nbsp = "⍽"; + nbsp = "·"; tab = "→"; }; }; diff --git a/modules/shell/nu/aliases.nu b/modules/shell/nu/aliases.nu index 20fe226..7876154 100644 --- a/modules/shell/nu/aliases.nu +++ b/modules/shell/nu/aliases.nu @@ -32,3 +32,6 @@ alias guni = cd ~/Docs/uni/info1; alias gunids = cd ~/Docs/uni/design; alias gunida = cd ~/Docs/uni/dramaturgie; alias gunm = cd ~/Docs/uni/mathe1-3; + +# typos +alias juts = just;