feat: establish classroom 0.1.0 baseline

This commit is contained in:
ekklesia
2026-08-31 18:12:06 -05:00
commit b1ff7a31ce
8 changed files with 94 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
dist/
packaging/root/
*.deb
+1
View File
@@ -0,0 +1 @@
0.1.0
+3
View File
@@ -0,0 +1,3 @@
if [ -z "$WAYLAND_DISPLAY" ] && [ "${XDG_VTNR:-}" = "1" ]; then
exec sway -c /etc/ekklesia-classroom/sway/config
fi
+18
View File
@@ -0,0 +1,18 @@
# Ekklesia Classroom
# Managed by the ekklesia-classroom package.
set $mod Mod4
# Wallpaper
output * bg #202020 solid_color
# Waybar
exec_always --no-startup-id pkill waybar
exec_always --no-startup-id waybar \
-c /etc/ekklesia-classroom/waybar/config.jsonc \
-s /etc/ekklesia-classroom/waybar/style.css
# Keep the interface intentionally minimal.
# Additional classroom controls are added explicitly by Ekklesia Classroom.
include /etc/sway/config.d/*
+35
View File
@@ -0,0 +1,35 @@
{
"layer": "top",
"position": "bottom",
"height": 56,
"spacing": 12,
"modules-left": [
"custom/browser",
"custom/dvd",
"custom/sanctuary"
],
"modules-right": [
"clock"
],
"custom/browser": {
"format": "Browser",
"on-click": "/usr/local/bin/classroom-browser"
},
"custom/dvd": {
"format": "DVD",
"on-click": "true"
},
"custom/sanctuary": {
"format": "Sanctuary",
"on-click": "true"
},
"clock": {
"format": "{:%-I:%M %p}"
}
}
+20
View File
@@ -0,0 +1,20 @@
* {
font-family: sans-serif;
font-size: 18px;
}
window#waybar {
background: rgba(20, 20, 20, 0.92);
color: white;
}
#custom-browser,
#custom-dvd,
#custom-sanctuary {
padding: 0 24px;
margin: 6px 4px;
}
#clock {
padding: 0 18px;
}
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
if pgrep -x chrome >/dev/null || pgrep -x google-chrome >/dev/null; then
swaymsg '[app_id="google-chrome"] focus' >/dev/null 2>&1 || true
exit 0
fi
exec google-chrome \
--ozone-platform=wayland \
--start-maximized \
https://app.wonderink.org/
+3
View File
@@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin classroom --noclear %I $TERM