Compare commits

...

12 Commits

Author SHA1 Message Date
9307929381 Add projector script 2024-07-07 17:14:58 +02:00
ff5897e3b2 Add maintenance script 2024-07-07 17:14:35 +02:00
bfdb956341 Install google earth 2024-07-07 17:14:26 +02:00
6e2b5ddd78 Update PKGBUILDs 2024-07-07 17:14:10 +02:00
1ed0157ffb Install picom 2024-07-07 17:13:43 +02:00
00fd98e873 Use xfce4-screenshooter 2024-07-07 17:13:43 +02:00
b421fb0c95 Move from libertine (deprecated) to libertinus 2024-07-07 17:13:43 +02:00
d8e0f3e78c Install apache 2024-07-07 17:13:43 +02:00
4c7e4918c9 dunst: Use fontawesome 2024-07-07 17:13:43 +02:00
a3d9e6c715 Do not use global ansible config 2024-07-07 17:13:43 +02:00
680aeac317 Drop explicit ansible python interpreter 2024-07-07 17:13:43 +02:00
2dccc21d33 Install fontawesome 2024-07-07 17:13:43 +02:00
14 changed files with 50 additions and 9 deletions

3
.gitmodules vendored
View File

@@ -22,3 +22,6 @@
[submodule "pkgbuilds/screencfg-git"] [submodule "pkgbuilds/screencfg-git"]
path = pkgbuilds/screencfg-git path = pkgbuilds/screencfg-git
url = https://aur.archlinux.org/screencfg-git.git url = https://aur.archlinux.org/screencfg-git.git
[submodule "pkgbuilds/google-earth-pro"]
path = pkgbuilds/google-earth-pro
url = https://aur.archlinux.org/google-earth-pro.git

View File

@@ -1,4 +1,4 @@
ansible_run = ansible-playbook -e ansible_python_interpreter=/usr/bin/python3 --inventory localhost, --diff ./playbook.yml ${ANSIBLE_EXTRA_ARGS} ansible_run = ansible-playbook --inventory localhost, --diff ./playbook.yml ${ANSIBLE_EXTRA_ARGS}
.PHONY: all .PHONY: all
all: all:

View File

@@ -43,7 +43,7 @@ pandoc \
--variable papersize=a4 \ --variable papersize=a4 \
--variable date=$(date --iso-8601=date) \ --variable date=$(date --iso-8601=date) \
--variable fontsize=12pt \ --variable fontsize=12pt \
--variable fontfamily=libertine \ --variable fontfamily=libertinus \
--variable familydefault=sfdefault \ --variable familydefault=sfdefault \
--variable documentclass=scrartcl \ --variable documentclass=scrartcl \
--variable fontfamilyoptions= \ --variable fontfamilyoptions= \

View File

@@ -84,7 +84,7 @@
### Text ### ### Text ###
font = JetBrains Mono {{ machine.font_size }} font = JetBrainsMono, Fontawesome {{ machine.font_size }}
# The spacing between lines. If the height is smaller than the # The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height. # font height, it will get raised to the font height.

13
maintenance.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -o nounset
set -o errexit
sudo pacman -Syu
./check-aur-updates.sh
ANSIBLE_DISPLAY_OK_HOSTS=false \
ANSIBLE_DISPLAY_SKIPPED_HOSTS=false \
ANSIBLE_EXTRA_ARGS='' \
make

View File

@@ -73,7 +73,10 @@ font-dejavu:
- ttf-dejavu-nerd - ttf-dejavu-nerd
font-libertine: font-libertine:
archlinux: archlinux:
- ttf-linux-libertine - libertinus-font
font-awesome:
archlinux:
- ttf-font-awesome
git: git:
# tk required for gitk # tk required for gitk
archlinux: ["git", "tk", "git-delta", "git-filter-repo"] archlinux: ["git", "tk", "git-delta", "git-filter-repo"]
@@ -514,3 +517,12 @@ geeqie:
xpath: xpath:
archlinux: archlinux:
- perl-xml-xpath - perl-xml-xpath
apache: # for apachebench
archlinux:
- apache
xfce4-screenshooter:
archlinux:
- xfce4-screenshooter
picom:
archlinux:
- picom

View File

@@ -225,6 +225,7 @@
- name: terraform-ls-bin - name: terraform-ls-bin
- name: grm-git - name: grm-git
- name: screencfg-git - name: screencfg-git
- name: google-earth-pro
- set_fact: - set_fact:
aur_packages: "{{ aur_packages|map(attribute='dependencies', default=[]) | flatten + aur_packages }}" aur_packages: "{{ aur_packages|map(attribute='dependencies', default=[]) | flatten + aur_packages }}"

12
projector.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
switch_back() {
screencfg --setup laptop-only
}
trap switch_back EXIT
xrandr --output eDP-1 --off --output DP-1 --auto # --mode 1920x1080
printf 'press ENTER or CTRL+C to switch back'
read -r _

View File

@@ -50,7 +50,6 @@ export PATH="${PATH}:${CARGO_HOME}/bin"
export PASSWORD_STORE_DIR="$XDG_STATE_HOME"/pass export PASSWORD_STORE_DIR="$XDG_STATE_HOME"/pass
export ANSIBLE_HOME="${XDG_CONFIG_HOME}/ansible" export ANSIBLE_HOME="${XDG_CONFIG_HOME}/ansible"
export ANSIBLE_CONFIG="${XDG_CONFIG_HOME}/ansible.cfg"
export ANSIBLE_GALAXY_CACHE_DIR="${XDG_CACHE_HOME}/ansible/galaxy_cache" export ANSIBLE_GALAXY_CACHE_DIR="${XDG_CACHE_HOME}/ansible/galaxy_cache"
export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker export DOCKER_CONFIG="$XDG_CONFIG_HOME"/docker