feat: establish classroom 0.1.0 baseline
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
if [ -z "$WAYLAND_DISPLAY" ] && [ "${XDG_VTNR:-}" = "1" ]; then
|
||||
exec sway -c /etc/ekklesia-classroom/sway/config
|
||||
fi
|
||||
@@ -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/*
|
||||
@@ -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}"
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user