aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2025-08-18 21:29:55 +0530
committerkrolxon <krolyxon@tutanota.com>2025-08-18 21:29:55 +0530
commit6040b93516812d1ea0093e68cec2a095c2ed26bd (patch)
tree324ae3786d5f3a4033e46e38cc3df8faff427d94
parent187010dcbb3501d7d112c03bd3fe03bec95b78c4 (diff)
make yazi more like lf, set foor as $EDITOR
-rw-r--r--.config/rofi/config.rasi2
-rw-r--r--.config/shell/profile4
-rw-r--r--.config/waybar/style.css2
-rw-r--r--.config/yazi/keymap.toml10
4 files changed, 11 insertions, 7 deletions
diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi
index adb14f1..0ce9901 100644
--- a/.config/rofi/config.rasi
+++ b/.config/rofi/config.rasi
@@ -144,7 +144,7 @@ listview {
border-color: @separatorcolor;
spacing: 2px ;
fixed-height: 0;
- border: 2px dash 0px 0px ;
+ border: 2px 0px 0px ;
}
scrollbar {
width: 4px ;
diff --git a/.config/shell/profile b/.config/shell/profile
index a2a6071..a3cb026 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -1,8 +1,8 @@
#!/bin/sh
export EDITOR="nvim"
-export TERMINAL="alacritty"
-export TERMINAL_PROG="alacritty"
+export TERMINAL="foot"
+export TERMINAL_PROG="foot"
export BROWSER="zen-browser"
export XDG_CONFIG_HOME="$HOME/.config"
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
index c2117c5..cbdc817 100644
--- a/.config/waybar/style.css
+++ b/.config/waybar/style.css
@@ -185,7 +185,7 @@ window#waybar.hidden {
}
#clock {
- color: #eceff4;
+ color: @text;
box-shadow: inset 0 -1px #eceff4;
}
diff --git a/.config/yazi/keymap.toml b/.config/yazi/keymap.toml
index 8f1198c..e1c809b 100644
--- a/.config/yazi/keymap.toml
+++ b/.config/yazi/keymap.toml
@@ -2,8 +2,11 @@
# If you encounter any issues, please make an issue at https://github.com/yazi-rs/schemas.
"$schema" = "https://yazi-rs.github.io/schemas/keymap.json"
+
+
[mgr]
+
keymap = [
{ on = "<Esc>", run = "escape", desc = "Exit visual mode, clear selection, or cancel search" },
{ on = "<C-[>", run = "escape", desc = "Exit visual mode, clear selection, or cancel search" },
@@ -59,12 +62,13 @@ keymap = [
{ on = "<Tab>", run = "spot", desc = "Spot hovered file" },
# Operation
+ { on = "e", run = "shell '$EDITOR \"$@\"' --block --confirm", desc = "Open hovered file in $EDITOR" },
{ on = "o", run = "open", desc = "Open selected files" },
{ on = "O", run = "open --interactive", desc = "Open selected files interactively" },
{ on = "<Enter>", run = "open", desc = "Open selected files" },
{ on = "<S-Enter>", run = "open --interactive", desc = "Open selected files interactively" },
{ on = "y", run = "yank", desc = "Yank selected files (copy)" },
- { on = "x", run = "yank --cut", desc = "Yank selected files (cut)" },
+ { on = "d", run = "yank --cut", desc = "Yank selected files (cut)" },
{ on = "p", run = "paste", desc = "Paste yanked files" },
{ on = "P", run = "paste --force", desc = "Paste yanked files (overwrite if the destination exists)" },
{ on = "-", run = "link", desc = "Symlink the absolute path of yanked files" },
@@ -72,10 +76,10 @@ keymap = [
{ on = "<C-->", run = "hardlink", desc = "Hardlink yanked files" },
{ on = "Y", run = "unyank", desc = "Cancel the yank status" },
{ on = "X", run = "unyank", desc = "Cancel the yank status" },
- { on = "d", run = "remove", desc = "Trash selected files" },
{ on = "D", run = "remove --permanently", desc = "Permanently delete selected files" },
{ on = "a", run = "create", desc = "Create a file (ends with / for directories)" },
- { on = "r", run = "rename --cursor=before_ext", desc = "Rename selected file(s)" },
+ { on = "i", run = "rename --cursor=before_ext", desc = "Rename selected file(s)" },
+ { on = "A", run = "rename --cursor=after_ext", desc = "Rename selected file(s) (After extension)" },
{ on = ";", run = "shell --interactive", desc = "Run a shell command" },
{ on = ":", run = "shell --block --interactive", desc = "Run a shell command (block until finishes)" },
{ on = ".", run = "hidden toggle", desc = "Toggle the visibility of hidden files" },