Add a bunch of useful laptop programs
This commit is contained in:
parent
fcd8cbb5d3
commit
6293d78d83
15
arch/roles/bluetooth/tasks/main.yml
Normal file
15
arch/roles/bluetooth/tasks/main.yml
Normal file
@ -0,0 +1,15 @@
|
||||
- name: Install bluez
|
||||
become: yes
|
||||
pacman:
|
||||
name:
|
||||
- bluez
|
||||
- bluez-utils
|
||||
- blueman
|
||||
state: present
|
||||
|
||||
- name: Enable bluetooth.service
|
||||
become: yes
|
||||
systemd:
|
||||
name: bluetooth
|
||||
enabled: yes
|
||||
state: started
|
6
arch/roles/fun/tasks/main.yml
Normal file
6
arch/roles/fun/tasks/main.yml
Normal file
@ -0,0 +1,6 @@
|
||||
- name: Install clementine
|
||||
become: yes
|
||||
pacman:
|
||||
name:
|
||||
- clementine
|
||||
state: present
|
@ -5,6 +5,8 @@
|
||||
- xorg
|
||||
- xorg-xinit
|
||||
- xdo
|
||||
- xorg-xrandr
|
||||
- xorg-xbacklight
|
||||
state: present
|
||||
|
||||
- name: Configure xorg
|
||||
@ -16,6 +18,30 @@
|
||||
group: root
|
||||
mode: u=rw,g=r,o=r
|
||||
|
||||
- name: Install GDM
|
||||
become: yes
|
||||
pacman:
|
||||
name: gdm
|
||||
state: present
|
||||
|
||||
- name: Enable GDM
|
||||
become: yes
|
||||
systemd:
|
||||
name: gdm
|
||||
enabled: yes
|
||||
|
||||
- name: Remove default GDM sessions
|
||||
become: yes
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: absent
|
||||
with_items:
|
||||
- /usr/share/xsessions/gnome.desktop
|
||||
- /usr/share/xsessions/gnome-xorg.desktop
|
||||
- /usr/share/xsessions/i3.desktop
|
||||
- /usr/share/xsessions/i3-with-shmlog.desktop
|
||||
|
||||
|
||||
- name: Install graphical programs
|
||||
become: yes
|
||||
pacman:
|
||||
@ -27,6 +53,9 @@
|
||||
- feh
|
||||
- dunst
|
||||
- picom
|
||||
- arandr
|
||||
- network-manager-applet
|
||||
- lxappearance
|
||||
state: present
|
||||
|
||||
- name: Install graphical AUR programs
|
||||
@ -35,6 +64,11 @@
|
||||
- rofi-dmenu
|
||||
- polybar
|
||||
- nerd-fonts-hack
|
||||
- networkmanager-dmenu-git
|
||||
- i3lockmore-git
|
||||
- numix-icon-theme-git
|
||||
- numix-circle-icon-theme-git
|
||||
- pavolume-git
|
||||
state: present
|
||||
|
||||
- name: Configure X
|
||||
|
13
arch/roles/programming/tasks/main.yml
Normal file
13
arch/roles/programming/tasks/main.yml
Normal file
@ -0,0 +1,13 @@
|
||||
- name: Install Clojure
|
||||
become: yes
|
||||
pacman:
|
||||
name:
|
||||
- clojure
|
||||
state: present
|
||||
|
||||
- name: Install node
|
||||
become: yes
|
||||
pacman:
|
||||
name:
|
||||
- nodejs
|
||||
state: present
|
@ -20,12 +20,16 @@
|
||||
- cl-ppcre
|
||||
- slime
|
||||
- quicklisp
|
||||
- stumpwm
|
||||
- stumpwm-git
|
||||
|
||||
- name: Downgrade quicklisp to 2019 distribution
|
||||
command:
|
||||
cmd: "sbcl --non-interactive --eval '(ql-dist:install-dist \"http://beta.quicklisp.org/dist/quicklisp/2019-12-27/distinfo.txt\" :replace t :prompt nil)'"
|
||||
|
||||
- name: Install bordeaux-threads
|
||||
command:
|
||||
cmd: "sbcl --non-interactive --eval '(ql:quickload \"bordeaux-threads\")'"
|
||||
|
||||
- name: Stow StumpWM configuration
|
||||
command:
|
||||
chdir: "{{ ansible_env.HOME }}/dotfiles"
|
||||
|
1
arch/roles/stumpwm/templates/.sbclrc
Normal file
1
arch/roles/stumpwm/templates/.sbclrc
Normal file
@ -0,0 +1 @@
|
||||
(load "/usr/lib/quicklisp/setup" :if-does-not-exist nil)
|
6
arch/roles/stumpwm/templates/stumpwm.desktop
Normal file
6
arch/roles/stumpwm/templates/stumpwm.desktop
Normal file
@ -0,0 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Name=StumpWM
|
||||
Comment=Log in using the StumpWM window manager
|
||||
Exec=/usr/bin/stumpwm
|
||||
TryExec=/usr/bin/stumpwm
|
||||
Type=Application
|
@ -25,3 +25,12 @@
|
||||
- role: syncthing
|
||||
tags:
|
||||
- syncthing
|
||||
- role: programming
|
||||
tags:
|
||||
- programming
|
||||
- role: bluetooth
|
||||
tags:
|
||||
- bluetooth
|
||||
- role: fun
|
||||
tags:
|
||||
- fun
|
||||
|
Loading…
Reference in New Issue
Block a user