Compare commits

...

2 Commits

Author SHA1 Message Date
Micke Nordin ff9cd655a8
Start nextcloud with --background
3 months ago
Micke Nordin c28f562e05
Switch wallpaper
3 months ago

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

@ -0,0 +1,27 @@
---
- name: Set up grub env
vars:
variables:
- key: GRUB_GFXMODE
value: 1920x1080x32
- key: GRUB_CMDLINE_LINUX_DEFAULT
value: '"quiet splash"'
hosts: localhost
connection: local
become: false
tasks:
- name: Set up environment variables
become: true
ansible.builtin.lineinfile:
path: /etc/default/grub
regex: ^{{ item.key }}=
line: "{{ item.key }}={{ item.value }}"
loop: "{{ variables }}"
- name: Update grub
become: true
ansible.builtin.command:
cmd: update-grub2
- name: Set default theme
become: true
ansible.builtin.command:
cmd: plymouth-set-default-theme -R moonlight

@ -3,7 +3,7 @@
vars:
uid: "{{ lookup('env','USER') }}"
TZ: "{{ lookup('env','TZ') }}"
wallpaper_path: /home/{{ uid }}/.config/wallpaper/savannah-landscape-with-acacia-trees.jpeg
wallpaper_path: /home/{{ uid }}/.config/wallpaper/debian.jpg
hosts: localhost
connection: local
become: false
@ -52,12 +52,10 @@
ansible.builtin.file:
dest: /home/{{ uid }}/.config/wallpaper
state: directory
# Image by upklyak on Freepik
# https://www.freepik.com/free-vector/savannah-landscape-with-acacia-trees-night-vector-cartoon-illustration-african-savanna-with-full-moon-stars-dark-sky-concept-safari-vacation-trip-travel_25694514.htm
- name: Setup wall paper
ansible.builtin.copy:
dest: '{{ wallpaper_path }}'
src: ../data/savannah-landscape-with-acacia-trees.jpeg
src: ../data/debian.jpg
notify: Reload sway
handlers:
- name: Reload sway

@ -19,7 +19,7 @@ exec exec uwsm finalize SWAYSOCK I3SOCK XCURSOR_SIZE XCURSOR_THEME
exec --no-startup-id nm-applet
exec --no-startup-id autotiling
exec --no-startup-id lxpolkit
exec --no-startup-id nextcloud
exec --no-startup-id nextcloud --background
exec --no-startup-id fcitx5
exec --no-startup-id foot --server

Loading…
Cancel
Save