This commit is contained in:
Sense T 2023-07-04 13:34:52 +08:00
parent 2799c259f2
commit 8a9d95f582
3 changed files with 11 additions and 1 deletions

View File

@ -122,7 +122,7 @@ bind = $mainMod, RETURN, exec, kitty
bind = $mainMod SHIFT, Q, killactive,
bind = $mainMod, M, exec, nwg-bar
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, nwg-drawer -lang zh_CN -nocats -nofs -term kitty
bind = $mainMod, ESCAPE, exec, nwg-drawer -lang zh_CN -nocats -nofs -term kitty
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle

View File

@ -15,6 +15,7 @@
zsh = {
enable = true;
enableAutosuggestions = true;
enableSyntaxHighlighting = true;
oh-my-zsh = {

View File

@ -1,6 +1,7 @@
let
defaultBrowser = "io.gitlab.librewolf-community.desktop";
defaultFileManager = "ranger.desktop";
defaultTerminal = "kitty.desktop";
in {
xdg = {
enable = true;
@ -16,6 +17,14 @@ in {
# Default file manager.
"inode/directory" = defaultFileManager;
# Image
"image/*" = defaultTerminal;
# Default terminal
"application/x-sh" = defaultTerminal;
"application/x-shellscript" = defaultTerminal;
"x-scheme-handler/ssh" = defaultTerminal;
};
};
};