File tree 1 file changed +42
-4
lines changed
1 file changed +42
-4
lines changed Original file line number Diff line number Diff line change 8
8
apt :
9
9
package :
10
10
- colordiff
11
- - cowsay
12
11
- fortune
13
12
- lolcat
13
+ - neofetch
14
+
15
+ - name : Override neofetch configuration
16
+ copy :
17
+ dest : ~/.config/neofetch/config.conf
18
+ content : |
19
+ print_info() {
20
+ info title
21
+
22
+ prin ""
23
+
24
+ info "OS" distro
25
+ info "Kernel" kernel
26
+ info "Uptime" uptime
27
+ info "IP" local_ip
28
+
29
+ prin ""
30
+
31
+ info "Host" model
32
+ info "CPU" cpu
33
+ info "Memory" memory
34
+ info "GPU" gpu
35
+ info "Screens" resolution
36
+ info "Disk" disk
37
+ info "Battery" battery
38
+ }
14
39
15
- - name : Add fortune to ~/.bashrc
16
- lineinfile :
40
+ cpu_temp="C"
41
+ refresh_rate="on"
42
+ block_range=(0 15)
43
+ cpu_display="infobar"
44
+ memory_display="infobar"
45
+ battery_display="infobar"
46
+ disk_display="infobar"
47
+ thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
48
+
49
+ - name : Add neofetch & fortune to ~/.bashrc
50
+ blockinfile :
17
51
path : ~/.bashrc
18
- line : fortune | cowsay -W 70 -f "$(ls /usr/share/cowsay/cows | sort -R | head -1)" | lolcat
52
+ marker : " ### {mark} Ansible managed: login banner"
53
+ block : |
54
+ echo ""
55
+ neofetch
56
+ fortune | lolcat
19
57
20
58
- name : Disable sudo password requirement
21
59
become : yes
You can’t perform that action at this time.
0 commit comments