From 0b1ed32aaf1e9f1ecbde1edcf4ef0183f27adec6 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 9 Feb 2021 22:01:55 -0500 Subject: [PATCH] Add/revise comments --- config/sxhkd/sxhkdrc | 3 +++ hosts/shiro/hardware-configuration.nix | 4 ++-- modules/desktop/browsers/qutebrowser.nix | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc index f20575ee..c54e2020 100644 --- a/config/sxhkd/sxhkdrc +++ b/config/sxhkd/sxhkdrc @@ -18,9 +18,12 @@ super + Return ctrl + super + Return xst +# Open a disposable, floating terminal window, for quick shell commands. super + grave scratch +# Open a disposable scratch buffer in a floating Emacs window, to run arbitrary +# code or quickly note something down. super + shift + grave emacsclient -e '(open-scratch-frame)' diff --git a/hosts/shiro/hardware-configuration.nix b/hosts/shiro/hardware-configuration.nix index d27402eb..91c483e5 100644 --- a/hosts/shiro/hardware-configuration.nix +++ b/hosts/shiro/hardware-configuration.nix @@ -16,8 +16,8 @@ extraModulePackages = [ ]; # HACK Disables fixes for spectre, meltdown, L1TF and a number of CPU # vulnerabilities. This is not a good idea for mission critical or - # server/headless builds, but on my lonely home system I prioritize raw - # performance over security. The gains are minor. + # server/headless builds, but Kuro isn't either. I'll prioritize raw + # performance over security here, though the gains are minor. kernelParams = [ "mitigations=off" ]; }; diff --git a/modules/desktop/browsers/qutebrowser.nix b/modules/desktop/browsers/qutebrowser.nix index 0d6e4f0b..36d4dda2 100644 --- a/modules/desktop/browsers/qutebrowser.nix +++ b/modules/desktop/browsers/qutebrowser.nix @@ -28,6 +28,8 @@ in { exec = ''${pkg}/bin/qutebrowser ":open -p"''; categories = "Network"; }) + # For Brave adblock in qutebrowser, which is significantly better than the + # built-in host blocking. Works on youtube and crunchyroll ads! python39Packages.adblock ];