moved pfetch launch to script for /etc/profile.d

This commit is contained in:
Radar231 2022-01-03 08:08:54 -05:00
parent baef18518b
commit 1bf87a0f78
1 changed files with 7 additions and 6 deletions

View File

@ -4,12 +4,13 @@
###########################################################
# tasks file for pfetch
- name: Add PF_INFO variable to our .bashrc
blockinfile:
path: "{{ homedir }}/.bashrc"
block: |
export PF_INFO="ascii title os host kernel uptime pkgs memory wm de shell editor"
/usr/local/bin/pfetch
- name: Copy pfetch launch script to /etc/profile.d
copy:
src: files/pfetch.sh
dest: /etc/profile.d/pfetch.sh
mode: "0755"
owner: root
group: root
- name: Copy pfetch script https://github.com/dylanaraps/pfetch
get_url: