commit a4731479cdacb2e96f0fa82d8ab640550334ce87
parent 8f50c5d1c86bce05d9427fc411b64f58d823f954
Author: William Casarin <jb55@jb55.com>
Date: Tue, 1 Nov 2022 23:32:06 -0700
updates
Diffstat:
6 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/bin/fuzz-notmuch-gam b/bin/fuzz-notmuch-gam
@@ -1,13 +1,15 @@
#!/usr/bin/env bash
#set -eou pipefail
-slug=$(github-project-slug)
-if [ slug == "" ]; then
+#slug=""
+slug=${1:-$(github-project-slug)}
+if [ $slug != "" ]
+then
slug="and subject:$slug"
fi
thread=$(notmuch search --format=json from:github $slug and subject:PR and date:month.. |
jq -r '.[] | "\(.timestamp) \(.subject)\t\(.thread)"' |
sort -nr |
-datefmt --timeago |
+datefmt --relative |
fzf --no-sort -m |
cutt -f2 |
xargs -I{} printf 'thread:{}\n')
diff --git a/bin/rss b/bin/rss
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -eou pipefail
-datefmt '%m-%d' |
+datefmt --relative |
fzf --tac --no-sort |
cutt -f4,5
diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc
@@ -3,6 +3,8 @@
# for examples
set -o vi
+export LANGUAGE="en_US.UTF-8"
+export LANG="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
export NIXPKGS=$HOME/nixpkgs
export NIX_PATH="nixpkgs=$NIXPKGS:$NIX_PATH"
diff --git a/dotfiles/.config/qutebrowser/autoconfig.yml b/dotfiles/.config/qutebrowser/autoconfig.yml
@@ -6,7 +6,5 @@
config_version: 2
settings:
- content.media.audio_capture:
- https://meet.google.com: true
- content.media.video_capture:
- https://meet.google.com: true
+ content.notifications.enabled:
+ https://www.tiktok.com: false
diff --git a/nix-config/configuration.nix b/nix-config/configuration.nix
@@ -75,6 +75,10 @@ in {
DefaultTimeoutStartSec=20s
'';
+ i18n.extraLocaleSettings = {
+ LC_TIME="en_DK.UTF-8";
+ };
+
documentation.nixos.enable = false;
documentation.dev.enable = true;
#documentation.man.generateCaches = true; # list manpages
@@ -88,6 +92,8 @@ in {
nix.useSandbox = machine != "charon";
nix.trustedUsers = [ "root" "jb55" ];
+ boot.blacklistedKernelModules = [ "pcspkr" ]; # STOP THE BEEPING
+
users.extraUsers.jb55 = user;
users.extraGroups.docker.members = [ "jb55" ];
diff --git a/nix-config/machines/quiver/default.nix b/nix-config/machines/quiver/default.nix
@@ -161,8 +161,6 @@ extra:
};
serviceConfig.ExecStart = extra.util.writeBash "battery-power" ''
- set -e
-
LED=/sys/class/leds/tpacpi::power
LED2=/sys/class/leds/tpacpi::kbd_backlight