summaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-09 00:55:50 -0600
committerCraig Jennings <c@cjennings.net>2026-02-09 00:55:50 -0600
commitc87938e6e5467bec122190e640712c48b3d41af4 (patch)
tree7ca5a49e1ae334a233fff8c404a36fc8a1cdcc7c /dotfiles
parent54566b220c4310e7887cf7543053cee5e40a329a (diff)
feat(archsetup): add zoom, webcam tools, and BRIO udev rule
Add zoom (AUR), cameractrls, v4l-utils to archsetup. Add Logitech BRIO udev rule for auto-applying camera settings on connect. Adopt logitech-brio-settings.sh into dotfiles. Remove flatpak (no longer used). Update wallpaper config.
Diffstat (limited to 'dotfiles')
-rwxr-xr-xdotfiles/common/.local/bin/logitech-brio-settings.sh31
-rw-r--r--dotfiles/hyprland/.config/waypaper/config.ini2
2 files changed, 32 insertions, 1 deletions
diff --git a/dotfiles/common/.local/bin/logitech-brio-settings.sh b/dotfiles/common/.local/bin/logitech-brio-settings.sh
new file mode 100755
index 0000000..104c880
--- /dev/null
+++ b/dotfiles/common/.local/bin/logitech-brio-settings.sh
@@ -0,0 +1,31 @@
+#!/bin/bash
+# Apply saved camera settings for Logitech BRIO
+# Triggered by udev rule on USB connect
+# Settings dialed in via cameractrls on 2026-02-08
+
+DEVICE="$1"
+
+if [ -z "$DEVICE" ]; then
+ # Find the BRIO's main video device
+ DEVICE=$(v4l2-ctl --list-devices 2>/dev/null | grep -A1 "Logitech BRIO" | grep /dev/video | head -1 | tr -d '[:space:]')
+fi
+
+[ -z "$DEVICE" ] && exit 1
+
+sleep 2 # Give the device time to initialize
+
+v4l2-ctl -d "$DEVICE" \
+ --set-ctrl=brightness=85 \
+ --set-ctrl=contrast=88 \
+ --set-ctrl=saturation=128 \
+ --set-ctrl=sharpness=163 \
+ --set-ctrl=backlight_compensation=0 \
+ --set-ctrl=power_line_frequency=2 \
+ --set-ctrl=white_balance_automatic=0 \
+ --set-ctrl=white_balance_temperature=3050 \
+ --set-ctrl=auto_exposure=3 \
+ --set-ctrl=exposure_dynamic_framerate=1 \
+ --set-ctrl=focus_automatic_continuous=1 \
+ --set-ctrl=zoom_absolute=136 \
+ --set-ctrl=pan_absolute=-10800 \
+ --set-ctrl=tilt_absolute=0
diff --git a/dotfiles/hyprland/.config/waypaper/config.ini b/dotfiles/hyprland/.config/waypaper/config.ini
index c459641..83b9ea4 100644
--- a/dotfiles/hyprland/.config/waypaper/config.ini
+++ b/dotfiles/hyprland/.config/waypaper/config.ini
@@ -2,7 +2,7 @@
language = en
folder = ~/pictures/wallpaper
monitors = All
-wallpaper = ~/pictures/wallpaper/my-summer-home-denmark.png
+wallpaper = ~/pictures/wallpaper/trondheim-norway.jpg
show_path_in_tooltip = True
backend = swww
fill = fill