Add a bunch of useful laptop programs

This commit is contained in:
Jeremy Dormitzer 2020-10-10 11:20:37 -04:00
parent fcd8cbb5d3
commit 6293d78d83
8 changed files with 89 additions and 1 deletions

View 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

View File

@ -0,0 +1,6 @@
- name: Install clementine
become: yes
pacman:
name:
- clementine
state: present

View File

@ -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

View 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

View File

@ -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"

View File

@ -0,0 +1 @@
(load "/usr/lib/quicklisp/setup" :if-does-not-exist nil)

View 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

View File

@ -25,3 +25,12 @@
- role: syncthing
tags:
- syncthing
- role: programming
tags:
- programming
- role: bluetooth
tags:
- bluetooth
- role: fun
tags:
- fun