fixed otter launcher and removed chafa dependancy
This commit is contained in:
@@ -22,7 +22,7 @@ place_holder = "execute" # at the input field
|
||||
suggestion_mode = "list" # available options: list, hint
|
||||
separator = """
|
||||
$( \
|
||||
text=" void"; \
|
||||
text=" void"; \
|
||||
printf "\u001B[0;90m$text \
|
||||
$(printf -v line '%*s' \"$(( COLUMNS - $(printf "$text" | wc -m) - 3 ))\" ''; printf '%s' \"${line// /─}\")" \
|
||||
)"""
|
||||
@@ -43,7 +43,7 @@ place_holder_color = "\u001B[30m"
|
||||
hint_color = "\u001B[30m" # suggestion color in hint mode
|
||||
# move the interface rightward or downward
|
||||
move_interface_right = 21
|
||||
move_interface_down = 1
|
||||
move_interface_down = 0
|
||||
|
||||
[[modules]]
|
||||
description = "programs"
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
packages = {
|
||||
otter-launcher = let
|
||||
extra-config = ''
|
||||
[overlay]
|
||||
overlay_cmd = "${lib.getExe pkgs.chafa} -s 20x ${./cat.png} --align=top,left"
|
||||
overlay_trimmed_lines = 1
|
||||
[overlay]
|
||||
overlay_cmd = "${lib.getExe pkgs.kitty} +kitten icat --fit height --align left --no-trailing-newline ${./cat.png}"
|
||||
overlay_trimmed_lines = 0
|
||||
'';
|
||||
final-config = pkgs.writeText "config.toml" ''
|
||||
${extra-config}
|
||||
@@ -33,7 +33,6 @@
|
||||
package = inputs'.otter-launcher.packages.default;
|
||||
runtimePkgs = with pkgs; [
|
||||
fsel
|
||||
chafa
|
||||
bluetui
|
||||
];
|
||||
flags = {
|
||||
|
||||
Reference in New Issue
Block a user