Compare commits

...

4 commits

Author SHA1 Message Date
d9940eb52e
home/fish: disable patdiff for fzf.fish 2025-10-29 21:05:32 +08:00
ffb056837c
packages/ruler: update 2025-10-29 19:17:01 +08:00
1af4390d05
vanadium/display: fix xscreensaver hook event for autorandr
It would run autorandr on the wrong event
2025-10-29 19:16:34 +08:00
9cace50bb1
fzf: make more readable 2025-10-28 16:42:53 +08:00
5 changed files with 8 additions and 8 deletions

View file

@ -28,7 +28,7 @@
enable = true;
hooks = {
# Reset display setting on login
"UNBLANK" = ''
"RUN" = ''
${lib.getExe pkgs.autorandr} --change --ignore-lid
'';
};

View file

@ -10,7 +10,7 @@
#
# Script dependencies
#
home.packages = [pkgs.vivid pkgs.patdiff];
home.packages = [pkgs.vivid];
programs = {
fd.enable = true;
fzf.enable = true;

View file

@ -80,7 +80,8 @@ end
set -x fzf_preview_file_cmd 'cat -n'
# fzf-fish search hidden files
set -x fzf_fd_opts --hidden --exclude=.git
set -x fzf_diff_highlighter patdiff
# fzf-fish using patdiff would show incomplete diff, it is a bug
# don't do it
# fd uses LS_COLORS
set -x LS_COLORS (vivid -m 24-bit generate solarized-light) # similar to milou

View file

@ -3,9 +3,8 @@
"--cycle"
"--border=none"
"--preview-window=wrap"
# TODO: This makes the unmatched harder to read
"--color=fg:#a0a1a7,bg:#fdf6e3,hl:#073642"
"--color=fg+:#a0a1a7,bg+:#f0e5c9,hl+:#073642"
"--color=fg:#073642,bg:#fdf6e3,hl:#af005f"
"--color=fg+:#073642,bg+:#f0e5c9,hl+:#af005f"
"--color=info:#268bd2,prompt:#5f5faf,pointer:#073642"
"--color=marker:#268bd2,spinner:#5f5faf,header:#073642"
"--color=gutter:#eeeadd"

View file

@ -12,8 +12,8 @@
domain = "git.confusedcompiler.org";
owner = "leana8959";
repo = "ruler";
rev = "4c374125ec9f566638e64671f468e598b33730e6";
hash = "sha256-n5xNC31t5S+h5WoT6iaJV2JxomxKLqz6gGF0KrM8YjQ=";
rev = "46f40d303f3b04d65475fdfd6511dd6431f20f24";
hash = "sha256-goJ4iYnFqn88y6xEBhaFnos8O1MWIqHzwGrR1W0yijo=";
})
{};