homeserver/roles/mgrote.polybar/tasks/main.yml
mg 02a6c6d5a7 laptop (#138)
dotfiles stash

pip weg

polybar group video

defaukts atom

timeshift aufgeräumt

defaults vivaldi

defaults xnview

doku

xautolock

vars

playbooks

atom

aufgeräumt

testvm

same2

same

bugfix alacritty

i3: rofi

abhängigkeiten

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#138
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-07-01 15:26:45 +02:00

46 lines
1.1 KiB
YAML

---
- name: install packages
become: yes
ansible.builtin.package:
name:
- polybar
- lm-sensors
- brightnessctl
- inotify-tools
- yad # polybar popup-calendar
- xdotool # polybar popup-calendar
state: present
- name: checkout siji font
become: true
ansible.builtin.git:
repo: "{{ polybar_siji_repo }}"
dest: "{{ polybar_siji_local }}"
register: gitcheckout
- name: create siji dir
become: true
ansible.builtin.file:
path:
- "{{ polybar_siji_fonts_dir }}"
state: directory
- name: install siji-font
become: true
ansible.builtin.shell: "{{ polybar_siji_local }}/install.sh -d {{ polybar_siji_fonts_dir }}"
args:
chdir: "{{ polybar_siji_local }}"
creates: /home/mg/.fonts
when: gitcheckout.changed
- name: remove bitmap-file
become: true
ansible.builtin.file:
path: /etc/fonts/conf.d/70-no-bitmaps.conf
state: absent
when: gitcheckout.changed
- name: update fc-cache
become: true
ansible.builtin.shell: fc-cache
when: gitcheckout.changed