From 1027067996e4dfb98f3bee1653f2fa5fa6e93695 Mon Sep 17 00:00:00 2001 From: LailaTheElf Date: Wed, 15 Oct 2025 15:23:18 +0200 Subject: [PATCH] updates --- private_dot_config/env | 6 +++++- private_dot_local/bin/executable_linesofcode | 4 ++++ .../share/flatpak/exact_overrides/cc.arduino.IDE2 | 4 ++++ .../share/flatpak/exact_overrides/md.obsidian.Obsidian | 2 +- run_after_once_chsh.sh | 3 --- run_before_once_install_oh-my-posh.sh | 4 ---- 6 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 private_dot_local/bin/executable_linesofcode create mode 100644 private_dot_local/share/flatpak/exact_overrides/cc.arduino.IDE2 delete mode 100644 run_after_once_chsh.sh delete mode 100644 run_before_once_install_oh-my-posh.sh diff --git a/private_dot_config/env b/private_dot_config/env index 67d93f9..a80053a 100644 --- a/private_dot_config/env +++ b/private_dot_config/env @@ -47,4 +47,8 @@ export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc" # export GNUPGHOME="$XDG_DATA_HOME/gnupg" # fix java dirs -export _JAVA_OPTIONS="-Djava.util.prefs.userRoot=$XDG_CONFIG_HOME/java" +erxport _JAVA_OPTIONS="-Djava.util.prefs.userRoot=$XDG_CONFIG_HOME/java" + +# pico SDK +export PICO_SDK_PATH="$HOME/.local/rpi/pico-sdk" + diff --git a/private_dot_local/bin/executable_linesofcode b/private_dot_local/bin/executable_linesofcode new file mode 100644 index 0000000..61f6669 --- /dev/null +++ b/private_dot_local/bin/executable_linesofcode @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +cat "$1"/* | sed -e 's|//.*$||' -e 's|^[ \t]*||' | grep -v '^[ \t]*$' | awk '/\/\*/ {s=1} /\*\// && s==1 {s=0} !s' | grep -v '^.$' | grep -v '^..$' | grep -v '^...$' | wc -l + diff --git a/private_dot_local/share/flatpak/exact_overrides/cc.arduino.IDE2 b/private_dot_local/share/flatpak/exact_overrides/cc.arduino.IDE2 new file mode 100644 index 0000000..99673f3 --- /dev/null +++ b/private_dot_local/share/flatpak/exact_overrides/cc.arduino.IDE2 @@ -0,0 +1,4 @@ +[Context] +devices=usb +filesystems=xdg-documents/Arduino;/run/media/ +persistent=.arduino15;.arduinoIDE diff --git a/private_dot_local/share/flatpak/exact_overrides/md.obsidian.Obsidian b/private_dot_local/share/flatpak/exact_overrides/md.obsidian.Obsidian index 502ed61..e0fd8e1 100644 --- a/private_dot_local/share/flatpak/exact_overrides/md.obsidian.Obsidian +++ b/private_dot_local/share/flatpak/exact_overrides/md.obsidian.Obsidian @@ -1,2 +1,2 @@ [Context] -filesystems=!xdg-download;!xdg-run/app/com.discordapp.Discord;!/run/media;!/mnt;!/media;~/projects/freenen/kladjes +filesystems=!xdg-download;!xdg-run/app/com.discordapp.Discord;!/run/media;!/mnt;!/media;~/projects/ diff --git a/run_after_once_chsh.sh b/run_after_once_chsh.sh deleted file mode 100644 index 4574305..0000000 --- a/run_after_once_chsh.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -chsh -s /usr/bin/fish diff --git a/run_before_once_install_oh-my-posh.sh b/run_before_once_install_oh-my-posh.sh deleted file mode 100644 index 2bb1256..0000000 --- a/run_before_once_install_oh-my-posh.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env bash - -curl -s https://ohmyposh.dev/install.sh | bash -s -