finished debian sway playbook
This commit is contained in:
@@ -26,6 +26,16 @@
|
|||||||
- lightdm
|
- lightdm
|
||||||
- xwayland
|
- xwayland
|
||||||
- wl-clipboard
|
- wl-clipboard
|
||||||
|
- neovim
|
||||||
|
- shellcheck
|
||||||
|
- git-annex
|
||||||
|
- name: remove gnome xdg portal
|
||||||
|
apt:
|
||||||
|
name:
|
||||||
|
- xdg-desktop-portal-gnome
|
||||||
|
- xdg-desktop-portal-gtk
|
||||||
|
- xdg-desktop-portal
|
||||||
|
state: absent
|
||||||
- name: Get dotfiles
|
- name: Get dotfiles
|
||||||
git:
|
git:
|
||||||
dest: ~/dotfiles
|
dest: ~/dotfiles
|
||||||
@@ -64,9 +74,9 @@
|
|||||||
regexp: '.*HandleLidSwitch.*'
|
regexp: '.*HandleLidSwitch.*'
|
||||||
- name: set hibernation delay
|
- name: set hibernation delay
|
||||||
lineinfile:
|
lineinfile:
|
||||||
line: "HibernationDelaySec=7200"
|
line: "HibernateDelaySec=2h"
|
||||||
path: "/etc/systemd/sleep.conf"
|
path: "/etc/systemd/sleep.conf"
|
||||||
regexp: '.*HibernationDelaySec.*'
|
regexp: '.*HibernateDelaySec.*'
|
||||||
- name: istall more packages
|
- name: istall more packages
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
@@ -85,8 +95,8 @@
|
|||||||
- thunderbird
|
- thunderbird
|
||||||
- yt-dlp
|
- yt-dlp
|
||||||
- pavucontrol
|
- pavucontrol
|
||||||
|
- borgbackup
|
||||||
state: present
|
state: present
|
||||||
register: out
|
|
||||||
- name: enable wireplumber
|
- name: enable wireplumber
|
||||||
systemd_service:
|
systemd_service:
|
||||||
name: wireplumber.service
|
name: wireplumber.service
|
||||||
@@ -111,3 +121,47 @@
|
|||||||
- org.signal.Signal
|
- org.signal.Signal
|
||||||
- com.synology.SynologyDrive
|
- com.synology.SynologyDrive
|
||||||
- com.github.tchx84.Flatseal
|
- com.github.tchx84.Flatseal
|
||||||
|
- name: install plymouth
|
||||||
|
apt:
|
||||||
|
name: plymouth
|
||||||
|
- name: get fox theme
|
||||||
|
git:
|
||||||
|
dest: /usr/share/plymouth/themes/foxy
|
||||||
|
repo: https://git.v-tr.org/violet/plymouth-foxy.git
|
||||||
|
notify: update initramfs
|
||||||
|
- name: Set plymouth theme
|
||||||
|
shell:
|
||||||
|
cmd: "plymouth-set-default-theme foxy && touch /etc/.plymouth"
|
||||||
|
creates: /etc/.plymouth
|
||||||
|
notify: update initramfs
|
||||||
|
- name: copy grub background
|
||||||
|
copy:
|
||||||
|
dest: /boot/grub/background.png
|
||||||
|
src: /usr/share/plymouth/themes/foxy/plymouth_background_foxy.png
|
||||||
|
- name: configure grub
|
||||||
|
lineinfile:
|
||||||
|
path: /etc/default/grub
|
||||||
|
line: "{{ item.line }}"
|
||||||
|
regexp: "{{ item.regexp }}"
|
||||||
|
with_items:
|
||||||
|
- line: GRUB_TIMEOUT=0
|
||||||
|
regexp: '^GRUB_TIMEOUT=.*'
|
||||||
|
- line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
|
||||||
|
regexp: '^GRUB_CMDLINE_LINUX_DEFAULT=.*'
|
||||||
|
- line: GRUB_GFXMODE=1366x768
|
||||||
|
regexp: '#?GRUB_GFXMODE=.*'
|
||||||
|
- line: GRUB_BACKGROUND=/boot/grub/background.png
|
||||||
|
regexp: '^GRUB_BACKGROUND.*'
|
||||||
|
notify: update grub
|
||||||
|
- name: set grub colors
|
||||||
|
copy:
|
||||||
|
dest: /boot/grub/custom.cfg
|
||||||
|
content: set color_normal=dark-gray/black
|
||||||
|
|
||||||
|
handlers:
|
||||||
|
- name: update initramfs
|
||||||
|
command:
|
||||||
|
cmd: update-initramfs -u -k all
|
||||||
|
- name: update grub
|
||||||
|
command:
|
||||||
|
cmd: update-grub
|
||||||
|
|||||||
Reference in New Issue
Block a user