adding cliphist and tweaks to xdg portal

This commit is contained in:
Chris Cochrun 2024-01-24 09:39:59 -06:00
parent db31430fea
commit 11efd61797

View file

@ -42,7 +42,7 @@ in
config = { config = {
common = { common = {
default = [ default = [
kde pkgs.xdg-desktop-portal-kde
]; ];
}; };
}; };
@ -250,6 +250,10 @@ in
# }; # };
#}; #};
services.cliphist = {
enable = true;
};
home.file.".config/bottom" = { home.file.".config/bottom" = {
source = ../.config/bottom; source = ../.config/bottom;
recursive = true; recursive = true;
@ -344,11 +348,12 @@ in
}; };
backlight = { backlight = {
# "device": "acpi_video1", # "device": "acpi_video1",
format = "{icon} {percent}%"; format = "{icon} {PERCENT}%";
format-icons = ["" ""]; format-icons = ["" ""];
}; };
disk = { disk = {
format = "󰋊 {percentage_used}% {free}"; format = "󰋊 {percentage_used}%";
tooltip-format = "{used} out of {total} with {free} left";
}; };
battery = { battery = {
states = { states = {
@ -1030,12 +1035,21 @@ end
enableBashIntegration = true; enableBashIntegration = true;
settings = { settings = {
format = '' format = ''
\[(dimmed gray) $username$hostname$directory \](dimmed gray) [\[](fg:#78787e) $username$hostname$directory[\]](fg:#78787e) [$cmd_duration$time$status](italic fg:#78787e)
$character $character
''; '';
right_format = '' right_format = ''
$git_branch$git_status$rust$nix_shell $git_branch$git_status$rust$nix_shell
''; '';
cmd_duration = {
format = " $duration";
};
time = {
format = "| $time";
};
status = {
format = "| $status";
};
scan_timeout = 10; scan_timeout = 10;
rust = { rust = {
format = "[$symbol($version )]($style)"; format = "[$symbol($version )]($style)";