Configure niri fuzzel theming, implement readline vi editing

This commit is contained in:
Curt Spark 2024-08-04 17:48:01 +01:00
parent 284a815b0e
commit 7920ff7382
3 changed files with 16 additions and 1 deletions

View File

@ -132,6 +132,9 @@ in
# Terminal=false # Terminal=false
# ''; # '';
# Inputrc file for VI mode
".inputrc".source = ./global-resources/home-manager/.inputrc;
# Global Wallpapers # Global Wallpapers
"Pictures/Wallpapers".source = ./global-resources/home-manager/Pictures/Wallpapers; "Pictures/Wallpapers".source = ./global-resources/home-manager/Pictures/Wallpapers;

View File

@ -0,0 +1,12 @@
set editing-mode vi
set show-mode-in-prompt on
set vi-ins-mode-string "\e[1;30;104mInsert\e[m \1\e[6 q\2"
set vi-cmd-mode-string "\e[1;30;107mNormal\e[m \1\e[2 q\2"
# Duration to wait before escaping out of Insert mode on Esc keypress
set keyseq-timeout 0
# optionally:
# switch to block cursor before executing a command
set keymap vi-insert
RETURN: "\e\n"

View File

@ -257,7 +257,7 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker. // Suggested binds for running programs: terminal, app launcher, screen locker.
Alt+Return { spawn "foot"; } Alt+Return { spawn "foot"; }
Alt+D { spawn "fuzzel"; } Alt+D { spawn "fuzzel" "--background=fbf1c7ff" "--border-color=d79921ff" "--text-color=3c3836ff" "--match-color=f9f5d7ff" "--selection-color=d79921ff" "--selection-text-color=fbf1c7ff"; }
Super+L { spawn "swaylock"; } Super+L { spawn "swaylock"; }
// You can also use a shell: // You can also use a shell: