Add config for lsd
This commit is contained in:
parent
379519c832
commit
3ae2f1f680
|
@ -7,12 +7,7 @@ end_of_line = lf
|
|||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.lua]
|
||||
max_line_length = 120
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[{*.vim,*.yml,*.fish,*.jsonnet,*.libsonnet}]
|
||||
[{*.yml,*.fish,*.jsonnet,*.libsonnet}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
- name: lsd | Create config directory
|
||||
file:
|
||||
path: '{{ xdg_dir.config_home }}/lsd'
|
||||
state: directory
|
||||
mode: '755'
|
||||
|
||||
- name: lsd | Copy configuration and theme
|
||||
template:
|
||||
src: lsd/{{ item }}.j2
|
||||
dest: '{{ xdg_dir.config_home }}/lsd/{{ item }}'
|
||||
mode: '644'
|
||||
loop:
|
||||
- config.yaml
|
||||
- colors.yaml
|
|
@ -43,6 +43,7 @@ local modules = [
|
|||
'imv',
|
||||
'k9s',
|
||||
'lazygit',
|
||||
'lsd',
|
||||
'mimeapps',
|
||||
'mpd',
|
||||
'mpv',
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
|
||||
# Auto-generated by "make jsonnet" from main.jsonnet
|
||||
# Auto-generated with Jsonnet from main.jsonnet
|
||||
# Do NOT edit!!
|
||||
|
||||
- copy:
|
||||
|
@ -112,6 +112,9 @@
|
|||
- import_tasks: lazygit.yml
|
||||
name: Configure lazygit
|
||||
tags: lazygit
|
||||
- import_tasks: lsd.yml
|
||||
name: Configure lsd
|
||||
tags: lsd
|
||||
- import_tasks: mimeapps.yml
|
||||
name: Configure mimeapps
|
||||
tags: mimeapps
|
||||
|
|
|
@ -165,6 +165,9 @@ set -gx _ZO_ECHO 1
|
|||
set -gx _ZO_FZF_OPTS "$FZF_DEFAULT_OPTS --no-multi"
|
||||
set -gx _ZO_RESOLVE_SYMLINKS 1
|
||||
|
||||
# magefile
|
||||
set -gx MAGEFILE_ENABLE_COLOR true
|
||||
|
||||
# LS_COLORS used for fd, exa, ...
|
||||
# if command -v vivid > /dev/null
|
||||
# not status is-login; and set -gx LS_COLORS (vivid generate {{ theme | capitalize }})
|
||||
|
|
|
@ -0,0 +1,39 @@
|
|||
---
|
||||
user: [{{ colors.blue | hex_to_rgb | join(', ') }}]
|
||||
group: [{{ colors.blue | hex_to_rgb | join(', ') }}]
|
||||
permission:
|
||||
read: [{{ colors.green | hex_to_rgb | join(', ') }}]
|
||||
write: [{{ colors.yellow | hex_to_rgb | join(', ') }}]
|
||||
exec: [{{ colors.red | hex_to_rgb | join(', ') }}]
|
||||
exec-sticky: [{{ colors.purple | hex_to_rgb | join(', ') }}]
|
||||
no-access: [{{ colors.grey3 | hex_to_rgb | join(', ') }}]
|
||||
octal: [{{ colors.cyan | hex_to_rgb | join(', ') }}]
|
||||
acl: [{{ colors.cyan | hex_to_rgb | join(', ') }}]
|
||||
context: [{{ colors.blue | hex_to_rgb | join(', ') }}]
|
||||
date:
|
||||
hour-old: [{{ colors.green | hex_to_rgb | join(', ') }}]
|
||||
day-old: [{{ colors.green | hex_to_rgb | join(', ') }}]
|
||||
older: [{{ colors.green | hex_to_rgb | join(', ') }}]
|
||||
size:
|
||||
none: [{{ colors.grey3 | hex_to_rgb | join(', ') }}]
|
||||
small: [{{ colors.yellow | hex_to_rgb | join(', ') }}]
|
||||
medium: [{{ colors.orange | hex_to_rgb | join(', ') }}]
|
||||
large: [{{ colors.red | hex_to_rgb | join(', ') }}]
|
||||
inode:
|
||||
valid: [{{ colors.purple | hex_to_rgb | join(', ') }}]
|
||||
invalid: [{{ colors.grey3 | hex_to_rgb | join(', ') }}]
|
||||
links:
|
||||
valid: [{{ colors.teal | hex_to_rgb | join(', ') }}]
|
||||
invalid: [{{ colors.grey3 | hex_to_rgb | join(', ') }}]
|
||||
tree-edge: [{{ colors.grey3 | hex_to_rgb | join(', ') }}]
|
||||
git-status:
|
||||
default: [{{ colors.grey3 | hex_to_rgb | join(', ') }}]
|
||||
unmodified: [{{ colors.grey3 | hex_to_rgb | join(', ') }}]
|
||||
ignored: [{{ colors.grey3 | hex_to_rgb | join(', ') }}]
|
||||
new-in-index: [{{ colors.green | hex_to_rgb | join(', ') }}]
|
||||
new-in-workdir: [{{ colors.green | hex_to_rgb | join(', ') }}]
|
||||
typechange: [{{ colors.yellow | hex_to_rgb | join(', ') }}]
|
||||
deleted: [{{ colors.red | hex_to_rgb | join(', ') }}]
|
||||
renamed: [{{ colors.green | hex_to_rgb | join(', ') }}]
|
||||
modified: [{{ colors.yellow | hex_to_rgb | join(', ') }}]
|
||||
conflicted: [{{ colors.red | hex_to_rgb | join(', ') }}]
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
# Mimic the original column order of ls
|
||||
blocks:
|
||||
- permission
|
||||
- links
|
||||
- user
|
||||
- group
|
||||
- size
|
||||
- date
|
||||
- git
|
||||
- name
|
||||
|
||||
color:
|
||||
theme: custom
|
||||
|
||||
date: +%b %d %Y %H:%M
|
||||
|
||||
size: short
|
||||
|
||||
sorting:
|
||||
dir-grouping: first
|
||||
|
||||
symlink-arrow: ->
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
|
||||
# Auto-generated by "make jsonnet" from apptainer.jsonnet
|
||||
# Auto-generated with Jsonnet from apptainer.jsonnet
|
||||
# Do NOT edit!!
|
||||
|
||||
- block:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
|
||||
# Auto-generated by "make jsonnet" from podman.jsonnet
|
||||
# Auto-generated with Jsonnet from podman.jsonnet
|
||||
# Do NOT edit!!
|
||||
|
||||
- block:
|
||||
|
|
|
@ -27,6 +27,7 @@ local packages =
|
|||
{ name: 'editorconfig-checker', url: 'github.com/editorconfig-checker/editorconfig-checker/cmd/editorconfig-checker' },
|
||||
{ name: 'vale', url: 'github.com/errata-ai/vale/v2/cmd/vale' },
|
||||
{ name: 'dockle', url: 'github.com/goodwithtech/dockle/cmd/dockle' },
|
||||
{ name: 'yamlfmt', url: 'github.com/google/yamlfmt/cmd/yamlfmt' },
|
||||
]
|
||||
]
|
||||
+ [
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
|
||||
# Auto-generated by "make jsonnet" from go-packages.jsonnet
|
||||
# Auto-generated with Jsonnet from go-packages.jsonnet
|
||||
# Do NOT edit!!
|
||||
|
||||
- block:
|
||||
|
@ -121,6 +121,13 @@
|
|||
tags:
|
||||
- dockle
|
||||
- linters
|
||||
- command:
|
||||
cmd: /usr/bin/go install -ldflags "-s -w" github.com/google/yamlfmt/cmd/yamlfmt@latest
|
||||
removes: /usr/bin/go
|
||||
name: packages | Install yamlfmt
|
||||
tags:
|
||||
- yamlfmt
|
||||
- linters
|
||||
- command:
|
||||
cmd: /usr/bin/go install -ldflags "-s -w" github.com/bazelbuild/bazelisk@latest
|
||||
removes: /usr/bin/go
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
|
||||
# Auto-generated by "make jsonnet" from pip-packages.jsonnet
|
||||
# Auto-generated with Jsonnet from pip-packages.jsonnet
|
||||
# Do NOT edit!!
|
||||
|
||||
- file:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
|
||||
# Auto-generated by "make jsonnet" from pnpm-packages.jsonnet
|
||||
# Auto-generated with Jsonnet from pnpm-packages.jsonnet
|
||||
# Do NOT edit!!
|
||||
|
||||
- command: pnpm add -g @mermaid-js/mermaid-cli@latest
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
|
||||
# Auto-generated by "make jsonnet" from rust-packages.jsonnet
|
||||
# Auto-generated with Jsonnet from rust-packages.jsonnet
|
||||
# Do NOT edit!!
|
||||
|
||||
- command:
|
||||
|
|
|
@ -3,8 +3,8 @@ wallpaper_dir: ~/Pictures/Wallpapers
|
|||
|
||||
# Fonts that are not covered by system packages
|
||||
font_versions:
|
||||
iosevka: 27.0.2
|
||||
sarasa-gothic: 0.42.0
|
||||
iosevka: 27.2.1
|
||||
sarasa-gothic: 0.42.3
|
||||
|
||||
kvantum_themes:
|
||||
- name: Nordic
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
|
||||
# Auto-generated by "make jsonnet" from fonts.jsonnet
|
||||
# Auto-generated with Jsonnet from fonts.jsonnet
|
||||
# Do NOT edit!!
|
||||
|
||||
- import_tasks: fonts/iosevka.yml
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
mode: '644'
|
||||
|
||||
- name: fonts | Decompress downloaded Bobbers font archive
|
||||
command: unzip /tmp/Bobbers.zip 'Bobbers Personal Use.ttf' -d ~/.local/share/fonts/
|
||||
command: unzip /tmp/Bobbers.zip 'Bobbers Personal Use.ttf' -d {{ xdg_dir.data_home }}/fonts/
|
||||
args:
|
||||
creates: ~/.local/share/fonts/Bobbers Personal Use.ttf
|
||||
creates: '{{ xdg_dir.data_home }}/fonts/Bobbers Personal Use.ttf'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: fonts | Create font directory for Iosevka
|
||||
file:
|
||||
path: ~/.local/share/fonts/iosevka
|
||||
path: '{{ xdg_dir.data_home }}/fonts/iosevka'
|
||||
mode: '755'
|
||||
state: directory
|
||||
|
||||
|
@ -19,9 +19,9 @@
|
|||
- iosevka-slab
|
||||
|
||||
- name: fonts | Decompress downloaded Iosevka font archives
|
||||
command: unzip /tmp/{{ item }}.zip -d ~/.local/share/fonts/iosevka
|
||||
command: unzip /tmp/{{ item }}.zip -d {{ xdg_dir.data_home }}/fonts/iosevka
|
||||
args:
|
||||
creates: ~/.local/share/fonts/iosevka/{{ item }}.ttc
|
||||
creates: '{{ xdg_dir.data_home }}/fonts/iosevka/{{ item }}.ttc'
|
||||
loop:
|
||||
- iosevka
|
||||
- iosevka-aile
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: fonts | Create font directory for Sarasa Gothic
|
||||
file:
|
||||
path: ~/.local/share/fonts/sarasa-gothic
|
||||
path: '{{ xdg_dir.data_home }}/fonts/sarasa-gothic'
|
||||
mode: '755'
|
||||
state: directory
|
||||
|
||||
|
@ -15,5 +15,5 @@
|
|||
- name: fonts | Decompress downloaded Sarasa Gothic font archive
|
||||
command: bsdtar -xf /tmp/sarasa-gothic.7z
|
||||
args:
|
||||
creates: ~/.local/share/fonts/sarasa-gothic/sarasa-regular.ttc
|
||||
chdir: ~/.local/share/fonts/sarasa-gothic
|
||||
creates: '{{ xdg_dir.data_home }}/fonts/sarasa-gothic/sarasa-regular.ttc'
|
||||
chdir: '{{ xdg_dir.data_home }}/fonts/sarasa-gothic'
|
||||
|
|
Loading…
Reference in New Issue