Configure niri fuzzel theming, implement readline vi editing
This commit is contained in:
parent
284a815b0e
commit
7920ff7382
|
|
@ -131,6 +131,9 @@ in
|
|||
# Exec=konsole -e ncmpcpp
|
||||
# Terminal=false
|
||||
# '';
|
||||
|
||||
# Inputrc file for VI mode
|
||||
".inputrc".source = ./global-resources/home-manager/.inputrc;
|
||||
|
||||
# Global Wallpapers
|
||||
"Pictures/Wallpapers".source = ./global-resources/home-manager/Pictures/Wallpapers;
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
@ -257,7 +257,7 @@ binds {
|
|||
|
||||
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||
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"; }
|
||||
|
||||
// You can also use a shell:
|
||||
|
|
|
|||
Loading…
Reference in New Issue