wms, menus, notifications

This commit is contained in:
jrosh 2025-07-18 15:06:50 +02:00
commit 35b318e323
9 changed files with 1140 additions and 0 deletions

80
lsd/colors.yaml Normal file
View file

@ -0,0 +1,80 @@
### Ayu-Dark to Xterm 256 Color Mapping
#| color-hex | color-xterm |
#|------------|-------------|
#| #39BAE6 | 74 (SkyBlue3) |
#| #FFB454 | 215 (SandyBrown) |
#| #59C2FF | 75 (SteelBlue1) |
#| #AAD94C | 149 (DarkOliveGreen3) |
#| #95E6CB | 116 (DarkSlateGray3) |
#| #F07178 | 204 (IndianRed1) |
#| #FF8F40 | 209 (Salmon1) |
#| #E6B673 | 179 (LightGoldenrod3) |
#| #ACB6BF | 249 (Grey70) |
#| #D2A6FF | 183 (Plum2) |
#| #F29668 | 209 (Salmon1) |
#| #7FD962 | 113 (DarkOliveGreen3) |
#| #73B8FF | 75 (SteelBlue1) |
#| #F26D78 | 204 (IndianRed1) |
#| #BFBDB6 | 250 (Grey74) |
#| #0D1017 | 233 (Grey7) |
#| #131721 | 234 (Grey11) |
#| #409FFF | 75 (SteelBlue1) |
#| #6C5980 | 60 (MediumPurple4) |
#| #6C7380 | 243 (Grey46) |
#| #6C7380 | 243 (Grey46) |
#| #565B66 | 59 (Grey37) |
#| #0B0E14 | 233 (Grey7) |
#| #11151C | 233 (Grey7) |
#| #475266 | 240 (Grey35) |
#| #0F131A | 233 (Grey7) |
#| #000000 | 16 (Black) |
#| #E6B450 | 179 (LightGoldenrod3) |
#| #D95757 | 167 (IndianRed) |
# Ayu-Dark theme for lsd
# Primary accent color: 215 (SandyBrown)
user: 250
group: 243
permission:
read: 149
write: 215
exec: 204
exec-sticky: 183
no-access: 59
octal: 75
acl: 116
context: 116
# Ayu String Focus theme
date:
hour-old: 149 # DarkOliveGreen3
day-old: 155 # DarkOliveGreen2 lighter
older: 107 # DarkOliveGreen3 darker
# Warm Sunset Gradient
#date:
# hour-old: 214 # warm, fresh and vibrant
# day-old: 209 # softer orange-pink
# older: 175 # gentle pink-purple
size:
none: 59
small: 116
medium: 74
large: 75
inode:
valid: 113
invalid: 59
links:
valid: 75
invalid: 59
tree-edge: 243
git-status:
default: 243
unmodified: 243
ignored: 59
new-in-index: 113
new-in-workdir: 113
typechange: 209
deleted: 167
renamed: 113
modified: 179
conflicted: 204

152
lsd/config.yaml Normal file
View file

@ -0,0 +1,152 @@
# == Classic ==
# This is a shorthand to override some of the options to be backwards compatible
# with `ls`. It affects the "color"->"when", "sorting"->"dir-grouping", "date"
# and "icons"->"when" options.
# Possible values: false, true
classic: false
# == Blocks ==
# This specifies the columns and their order when using the long and the tree
# layout.
# Possible values: permission, user, group, context, size, date, name, inode, links, git
blocks:
- date
- user
- group
- size
- permission
- git
- name
# - inode
# - links
# - context
# == Color ==
# This has various color options. (Will be expanded in the future.)
color:
# When to colorize the output.
# When "classic" is set, this is set to "never".
# Possible values: never, auto, always
when: auto
# How to colorize the output.
# When "classic" is set, this is set to "no-color".
# Possible values: default, custom
# When "custom" is set, lsd will look in the config directory for `colors.yaml`.
theme: custom
# == Date ==
# This specifies the date format for the date column. The freeform format
# accepts a strftime like string.
# When "classic" is set, this is set to "date".
# Possible values: date, locale, relative, '+<date_format>'
# `date_format` will be a `strftime` formatted value. e.g. `date: '+%d %b %y %X'` will give you a date like this: 17 Jun 21 20:14:55
date: '+%d-%m-%y %H:%M:%S'
# == Dereference ==
# Whether to dereference symbolic links.
# Possible values: false, true
dereference: false
# == Display ==
# What items to display. Do not specify this for the default behavior.
# Possible values: all, almost-all, directory-only
# display: all
# == Icons ==
icons:
# When to use icons.
# When "classic" is set, this is set to "never".
# Possible values: always, auto, never
when: auto
# Which icon theme to use.
# Possible values: fancy, unicode
theme: fancy
# Separator between icon and the name
# Default to 1 space
separator: " "
# == Ignore Globs ==
# A list of globs to ignore when listing.
# ignore-globs:
# - .git
# == Indicators ==
# Whether to add indicator characters to certain listed files.
# Possible values: false, true
indicators: true
# == Layout ==
# Which layout to use. "oneline" might be a bit confusing here and should be
# called "one-per-line". It might be changed in the future.
# Possible values: grid, tree, oneline
layout: grid
# == Recursion ==
recursion:
# Whether to enable recursion.
# Possible values: false, true
enabled: false
# How deep the recursion should go. This has to be a positive integer. Leave
# it unspecified for (virtually) infinite.
# depth: 3
# == Size ==
# Specifies the format of the size column.
# Possible values: default, short, bytes
size: default
# == Permission ==
# Specify the format of the permission column
# Possible value: rwx, octal, attributes (windows only), disable
# permission: rvx
# == Sorting ==
sorting:
# Specify what to sort by.
# Possible values: extension, name, time, size, version
column: name
# Whether to reverse the sorting.
# Possible values: false, true
reverse: false
# Whether to group directories together and where.
# When "classic" is set, this is set to "none".
# Possible values: first, last, none
dir-grouping: none
# == No Symlink ==
# Whether to omit showing symlink targets
# Possible values: false, true
no-symlink: false
# == Total size ==
# Whether to display the total size of directories.
# Possible values: false, true
total-size: false
# == Hyperlink ==
# Attach hyperlink to filenames
# Possible values: always, auto, never
hyperlink: never
# == Symlink arrow ==
# Specifies how the symlink arrow display, chars in both ascii and utf8
symlink-arrow: 󰁔
# == Header ==
# Whether to display block headers.
# Possible values: false, true
header: false
# == Literal ==
# Whether to show quotes on filenames.
# Possible values: false, true
literal: false
# == Truncate owner ==
# How to truncate the username and group names for a file if they exceed a certain
# number of characters.
truncate-owner:
# Number of characters to keep. By default, no truncation is done (empty value).
after:
# String to be appended to a name if truncated.
marker: ""