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