Skip to content

Commit 3fa1fb5

Browse files
committed
Adding gh dash configs.
1 parent 1c0543f commit 3fa1fb5

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

roles/gh/files/config.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# catppuccin-mocha-green.yml
2+
# https://github.com/catppuccin/gh-dash/blob/main/themes/mocha/catppuccin-mocha-green.yml
3+
theme:
4+
colors:
5+
text:
6+
primary: "#cdd6f4"
7+
secondary: "#a6e3a1"
8+
inverted: "#11111b"
9+
faint: "#bac2de"
10+
warning: "#f9e2af"
11+
success: "#a6e3a1"
12+
error: "#f38ba8"
13+
background:
14+
selected: "#313244"
15+
border:
16+
primary: "#a6e3a1"
17+
secondary: "#45475a"
18+
faint: "#313244"

roles/gh/tasks/main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,21 @@
77
- name: "{{ role_name }} | Run Tasks: {{ ansible_distribution }}"
88
ansible.builtin.include_tasks: "{{ ansible_distribution }}.yml"
99
when: distribution_config.stat.exists
10+
11+
- name: "GH | MacOSX | Install gh-dash"
12+
ansible.builtin.command:
13+
cmd: gh extension install dlvhdr/gh-dash
14+
15+
- name: "{{ role_name }} | Ensure gh-dash config dir exists"
16+
ansible.builtin.file:
17+
state: directory
18+
dest: "{{ ansible_env.HOME }}/.config/gh-dash"
19+
mode: '0755'
20+
owner: "{{ ansible_env.USER }}"
21+
22+
- name: "{{ role_name }} | Copy gh-dash config"
23+
ansible.builtin.copy:
24+
src: config.yaml
25+
dest: "{{ ansible_env.HOME }}/.config/gh-dash/config.yaml"
26+
mode: '0644'
27+
owner: "{{ ansible_env.USER }}"

roles/zsh/files/zsh/vars.zsh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ export HOT="${ORANGE}\xF0\x9F\x94\xA5${NC}"
3737
export WARNING="${RED}\xF0\x9F\x9A\xA8${NC}"
3838
export RIGHT_ANGLE="${GREEN}\xE2\x88\x9F${NC}"
3939

40+
export GH_DASH_CONFIG="$HOME/.config/gh-dash/config.yaml"
41+
4042
export DF_HOME="$HOME/dev/raft/data-fabric"
4143
export RDP_HOME="$HOME/dev/raft/rdp-operator"
4244
export DF_INFRA_HOME="$HOME/dev/raft/df-infra"
4345
export DFDEV_GIT_PROTOCOL="ssh"
4446
export AWS_PROFILE="Raft"
47+

0 commit comments

Comments
 (0)