main
Micke Nordin 1 year ago
parent d5ffbd34ca
commit 29ae3588dc

@ -0,0 +1,14 @@
---
- name: Set up env
vars:
XDG_DATA_DIRS: /usr/local/share/:/usr/share/
hosts: localhost
connection: local
become: false
tasks:
- name: Set up /etc/environment
become: true
ansible.builtin.lineinfile:
path: /etc/environment
regex: '^XDG_DATA_DIRS='
line: XDG_DATA_DIRS={{ XDG_DATA_DIRS }}

@ -1,4 +1,5 @@
---
- import_playbook: playbooks/env.yaml
- import_playbook: playbooks/apt.yaml
- import_playbook: playbooks/nvim.yaml
- import_playbook: playbooks/zsh.yaml

@ -1,9 +1,8 @@
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/.local/bin:/usr/local/bin:${HOME}/.cargo/bin:$PATH
sudo setupcon > /dev/null 2>&1
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
export XDG_DATA_DIRS="${XDG_DATA_DIRS}:/var/lib/snapd/desktop/"
export XDG_DATA_DIRS="${XDG_DATA_DIRS}:${HOME}/.local/share/:/var/lib/snapd/desktop/"
export XDG_CURRENT_DESKTOP=sway
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus

Loading…
Cancel
Save