Compare commits

...

6 Commits

Author SHA1 Message Date
a6f9893fac aur: Update screencfg-git 2025-11-07 18:28:26 +01:00
71469bab93 Install mdformat 2025-11-07 18:28:26 +01:00
0e56890ee4 Add screencfg service 2025-11-07 18:28:26 +01:00
15de59d8cc aur: Fix build script 2025-11-07 18:28:26 +01:00
90c92e2159 Configure reflector properly 2025-11-07 18:28:26 +01:00
c6d23aa138 aur: Update claude-code 2025-11-07 18:28:26 +01:00
6 changed files with 39 additions and 12 deletions

View File

@@ -31,3 +31,4 @@ Wants=yubikey-touch-detector.service
Wants=kdeconnect.service Wants=kdeconnect.service
Wants=color-theme-dark.service Wants=color-theme-dark.service
Wants=workstation-mgr.service Wants=workstation-mgr.service
Wants=screencfg.service

View File

@@ -0,0 +1,8 @@
[Unit]
BindsTo=autostart.target
After=windowmanager.target
[Service]
Type=simple
ExecStart=/usr/bin/screencfg watch --best
Restart=always

View File

@@ -376,6 +376,7 @@ json:
markdown: markdown:
archlinux: archlinux:
- marksman - marksman
- mdformat
lldb: lldb:
archlinux: archlinux:
- lldb - lldb

View File

@@ -208,6 +208,22 @@
changed_when: unconfigured_packages_cmd.rc == 123 changed_when: unconfigured_packages_cmd.rc == 123
become: true become: true
- name: reflector
block:
- name: Configure reflector
ansible.builtin.copy:
dest: /etc/xdg/reflector/reflector.conf
owner: root
group: root
mode: "0644"
content: |
--save /etc/pacman.d/mirrorlist
--protocol https
--country Germany
--latest 5
--sort age
become: true
- name: Enable reflector timer - name: Enable reflector timer
ansible.builtin.systemd: ansible.builtin.systemd:
name: reflector.timer name: reflector.timer
@@ -433,13 +449,14 @@
source ./PKGBUILD source ./PKGBUILD
for arch in "${arch[@]}" ; do for a in "${arch[@]}" ; do
if [[ "${arch}" == "any" ]] ; then if [[ "${a}" == "any" ]] ; then
arch="any" arch="any"
break break
fi fi
if [[ "${arch}" == "x86_64" ]] ; then if [[ "${a}" == "x86_64" ]] ; then
arch="x86_64" arch="x86_64"
break
fi fi
done done