Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
95936a2e88
|
|||
|
4c1158f9b7
|
@@ -6,7 +6,7 @@ let
|
||||
LEVEL=$(cat "$BAT/capacity")
|
||||
STATUS=$(cat "$BAT/status")
|
||||
|
||||
if [ "$STATUS" = "Discharging" ] && [ "$LEVEL" -lt 90 ]; then
|
||||
if [ "$STATUS" = "Discharging" ] && [ "$LEVEL" -lt 20 ]; then
|
||||
${pkgs.dunst}/bin/dunstify \
|
||||
-r 9991 \
|
||||
-t 0 \
|
||||
|
||||
@@ -8,11 +8,13 @@
|
||||
./eza
|
||||
./fastfetch
|
||||
./fish
|
||||
./gitui
|
||||
./kitty
|
||||
./kutu
|
||||
./nvim
|
||||
./picom
|
||||
./rofi
|
||||
./yazi
|
||||
];
|
||||
|
||||
home.username = "me";
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
programs.gitui = {
|
||||
enable = true;
|
||||
theme = ./theme.ron;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
(
|
||||
selection_bg: Some("#283457"),
|
||||
selection_fg: Some("#c0caf5"),
|
||||
command_fg: Some("#c0caf5"),
|
||||
diff_line_add: Some("#9ece6a"),
|
||||
diff_line_delete: Some("#f7768e"),
|
||||
diff_file_added: Some("#9ece6a"),
|
||||
diff_file_removed: Some("#f7768e"),
|
||||
diff_file_modified: Some("#e0af68"),
|
||||
diff_file_moved: Some("#bb9af7"),
|
||||
commit_hash: Some("#bb9af7"),
|
||||
commit_time: Some("#7dcfff"),
|
||||
commit_author: Some("#9ece6a"),
|
||||
branch_fg: Some("#e0af68"),
|
||||
tag_fg: Some("#bb9af7"),
|
||||
danger_fg: Some("#f7768e"),
|
||||
use_selection_fg: Some(true),
|
||||
syntax: Some("base16-ocean.dark"),
|
||||
)
|
||||
@@ -0,0 +1,50 @@
|
||||
{pkgs, ...}:
|
||||
|
||||
let
|
||||
plugins-repo = pkgs.fetchFromGitHub {
|
||||
owner = "yazi-rs";
|
||||
repo = "plugins";
|
||||
rev = "8cd50c622898d3ace3ca821f540241965308289a";
|
||||
hash = "sha256-f4y952sUF/lrHMX6enQts/obk2DeatqAcaVHfjTD65k=";
|
||||
};
|
||||
in
|
||||
{
|
||||
programs.yazi = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
shellWrapperName = "y";
|
||||
|
||||
settings = {
|
||||
manager = {
|
||||
show_hidden = true;
|
||||
};
|
||||
preview = {
|
||||
max_width = 1000;
|
||||
max_height = 1000;
|
||||
};
|
||||
};
|
||||
|
||||
plugins = {
|
||||
max-preview = "${plugins-repo}/max-preview.yazi";
|
||||
full-border = "${plugins-repo}/full-border.yazi";
|
||||
git = "${plugins-repo}/git.yazi";
|
||||
};
|
||||
|
||||
initLua = ''
|
||||
require("full-border"):setup()
|
||||
require("git"):setup {
|
||||
order = 1500,
|
||||
}
|
||||
'';
|
||||
|
||||
keymap = {
|
||||
manager.prepend_keymap = [
|
||||
{
|
||||
on = ["A"];
|
||||
run = "plugin --sync max-preview";
|
||||
desc = "Maximize or restore the preview pane";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -56,8 +56,6 @@
|
||||
libinput
|
||||
gnupg
|
||||
age
|
||||
yazi
|
||||
gitui
|
||||
bind
|
||||
wget
|
||||
curl
|
||||
|
||||
Reference in New Issue
Block a user