Skip to content

Commit

Permalink
lsd: Adding catppuccin theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
TechDufus committed Dec 19, 2024
1 parent 35f0988 commit 3d56c37
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
38 changes: 38 additions & 0 deletions roles/lsd/files/colors.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
user: "#cba6f7"
group: "#b4befe"
permission:
read: "#a6e3a1"
write: "#f9e2af"
exec: "#eba0ac"
exec-sticky: "#cba6f7"
no-access: "#a6adc8"
octal: "#94e2d5"
acl: "#94e2d5"
context: "#89dceb"
date:
hour-old: "#94e2d5"
day-old: "#89dceb"
older: "#74c7ec"
size:
none: "#a6adc8"
small: "#a6e3a1"
medium: "#f9e2af"
large: "#fab387"
inode:
valid: "#f5c2e7"
invalid: "#a6adc8"
links:
valid: "#f5c2e7"
invalid: "#a6adc8"
tree-edge: "#bac2de"
git-status:
default: "#cdd6f4"
unmodified: "#a6adc8"
ignored: "#a6adc8"
new-in-index: "#a6e3a1"
new-in-workdir: "#a6e3a1"
typechange: "#f9e2af"
deleted: "#f38ba8"
renamed: "#a6e3a1"
modified: "#f9e2af"
conflicted: "#f38ba8"
2 changes: 2 additions & 0 deletions roles/lsd/files/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
color:
theme: custom
18 changes: 18 additions & 0 deletions roles/lsd/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,21 @@
- name: "{{ role_name }} | Run Tasks: {{ ansible_distribution }}"
ansible.builtin.include_tasks: "{{ ansible_distribution }}.yml"
when: distribution_config.stat.exists

- name: "LSD | Ensure ~/.config/lsd exists"
ansible.builtin.file:
path: "{{ ansible_user_dir }}/.config/lsd"
state: directory
mode: "0755"

- name: "LSD | Copy lsd config"
ansible.builtin.copy:
src: "config.yaml"
dest: "{{ ansible_user_dir }}/.config/lsd/config.yaml"
mode: "0644"

- name: "LSD | Copy colors.yaml"
ansible.builtin.copy:
src: "colors.yaml"
dest: "{{ ansible_user_dir }}/.config/lsd/colors.yaml"
mode: "0644"

0 comments on commit 3d56c37

Please sign in to comment.