my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.4 KiB

3 years ago
  1. # Should the list (text, borders) be drawn in bold
  2. # Value 1 is the default
  3. local bold=0
  4. # Main color pair (foreground/background)
  5. local colorpair="white/black"
  6. # Should draw the border?
  7. local border=0
  8. # Combinations of colors to try out with Ctrl-T and Ctrl-G
  9. # The last number is the bold option, 0 or 1
  10. local -a themes
  11. themes=( "white/black/1" "green/black/0" "green/black/1" "white/blue/0" "white/blue/1"
  12. "magenta/black/0" "magenta/black/1" )
  13. # Uncomment when using new (>5.2) Zsh version that supports 256 colors in zcurses
  14. #themes=( "white/17/0" "10/17/1" "white/24/1" "white/22/0" "white/22/1" "white/25/0" "white/25/1"
  15. # "white/59/0" "white/59/1" "white/60/0" "white/60/1" "white/61/0" "white/61/1" "black/65/0"
  16. # "black/244/0" )
  17. # When 1, pressing enter when in search mode will not
  18. # only leave the mode, but also do selection and leave
  19. # n-history
  20. local NLIST_INSTANT_SELECT=0
  21. #
  22. # Zshrc integration. All below variables can
  23. # be set in zshrc and will have precedence
  24. # over config files
  25. #
  26. # 1. znt_list_bold
  27. bold=${znt_list_bold:-$bold}
  28. # 2. znt_list_colorpair
  29. colorpair=${znt_list_colorpair:-$colorpair}
  30. # 3. znt_list_border
  31. border=${znt_list_border:-$border}
  32. # 4. znt_list_themes (array)
  33. if (( ${+znt_list_themes} )); then
  34. themes=( "${znt_list_themes[@]}" )
  35. fi
  36. # 5. znt_list_instant_select
  37. NLIST_INSTANT_SELECT=${znt_list_instant_select:-$NLIST_INSTANT_SELECT}