FDS/OS 1.0
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
Section "ServerFlags"
|
||||
Option "DontVTSwitch" "false"
|
||||
Option "BlankTime" "0"
|
||||
Option "StandbyTime" "0"
|
||||
Option "SuspendTime" "0"
|
||||
Option "OffTime" "0"
|
||||
EndSection
|
||||
Section "Extensions"
|
||||
Option "Composite" "Disable"
|
||||
EndSection
|
||||
@@ -0,0 +1,6 @@
|
||||
("FDS/OS",
|
||||
("Terminal", EXEC, "/usr/libexec/fds/terminal"),
|
||||
("Enable Ethernet", EXEC, "fds network on"),
|
||||
("Disable Ethernet", EXEC, "fds network off"),
|
||||
("Return to console", EXEC, "fds profile deactivate")
|
||||
)
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"*" = { NoAppIcon = YES; };
|
||||
"FDS" = { NoAppIcon = YES; };
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
{
|
||||
DisableDock = YES;
|
||||
DisableClip = YES;
|
||||
DisableDrawers = YES;
|
||||
EnableWorkspacePager = NO;
|
||||
DisableAnimations = YES;
|
||||
DisableBlinking = YES;
|
||||
Superfluous = NO;
|
||||
DoNotMakeAppIconsBounce = YES;
|
||||
BounceAppIconsWhenUrgent = NO;
|
||||
OpaqueMove = NO;
|
||||
OpaqueResize = NO;
|
||||
OpaqueMoveResizeKeyboard = NO;
|
||||
IconificationStyle = None;
|
||||
SaveSessionOnExit = NO;
|
||||
SmoothWorkspaceBack = NO;
|
||||
WorkspaceBack = (solid, "white");
|
||||
WidgetColor = (solid, "#cccccc");
|
||||
IconBack = (solid, "white");
|
||||
FTitleBack = (solid, "black");
|
||||
PTitleBack = (solid, "#cccccc");
|
||||
UTitleBack = (solid, "white");
|
||||
ResizebarBack = (solid, "#cccccc");
|
||||
MenuTitleBack = (solid, "black");
|
||||
MenuTextBack = (solid, "white");
|
||||
FTitleColor = "white";
|
||||
PTitleColor = "black";
|
||||
UTitleColor = "black";
|
||||
MenuTitleColor = "white";
|
||||
MenuTextColor = "black";
|
||||
MenuDisabledColor = "#666666";
|
||||
HighlightColor = "black";
|
||||
HighlightTextColor = "white";
|
||||
WindowTitleFont = "Terminus:pixelsize=20";
|
||||
MenuTitleFont = "Terminus:pixelsize=20";
|
||||
MenuTextFont = "Terminus:pixelsize=20";
|
||||
IconTitleFont = "Terminus:pixelsize=16";
|
||||
ClipTitleFont = "Terminus:pixelsize=16";
|
||||
LargeDisplayFont = "Terminus:pixelsize=32";
|
||||
FrameBorderWidth = 2;
|
||||
FrameBorderColor = "black";
|
||||
FocusedFrameBorderColor = "black";
|
||||
SelectedFrameBorderColor = "black";
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
install -d -m 0750 -o root -g fds /run/log/desktop /run/log/xserver /run/fds/x11
|
||||
# Active XKB keymaps are session state; all global font caches are built in the image.
|
||||
if [[ -d /var/lib/xkb ]] && ! mountpoint -q /var/lib/xkb; then
|
||||
mount -t tmpfs -o mode=0755,nosuid,nodev,noexec tmpfs /var/lib/xkb
|
||||
fi
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
export PS1='FDS> '
|
||||
exec /usr/bin/xterm -class FDS -name fds-terminal -title 'FDS Terminal' \
|
||||
-bg white -fg black -cr black -fn '-xos4-terminus-medium-r-normal--20-200-72-72-c-100-iso10646-1' \
|
||||
-ut -bc -uc -sb -geometry 100x35+40+40 -e /bin/bash --noprofile --norc -i
|
||||
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
# Runs as fds; never install files into a user-controlled home as root.
|
||||
mkdir -p "$HOME/GNUstep/Defaults"
|
||||
for name in WindowMaker WMRootMenu WMWindowAttributes; do
|
||||
if [[ ! -e $HOME/GNUstep/Defaults/$name ]]; then
|
||||
cp --no-clobber "/usr/share/fds/eink/$name" "$HOME/GNUstep/Defaults/$name"
|
||||
fi
|
||||
done
|
||||
xset s off
|
||||
xset -dpms
|
||||
xsetroot -solid white
|
||||
exec wmaker --no-dock --no-clip --no-autolaunch
|
||||
@@ -0,0 +1 @@
|
||||
xorg
|
||||
@@ -0,0 +1,22 @@
|
||||
pkgname=fds-eink
|
||||
version=0.1.0
|
||||
revision=1
|
||||
archs="aarch64"
|
||||
depends="xorg-server xf86-input-libinput WindowMaker terminus-font xterm xset xsetroot fontconfig"
|
||||
short_desc="FDS grayscale WindowMaker session and E-Ink defaults"
|
||||
maintainer="FDS/OS maintainers"
|
||||
license="MIT"
|
||||
homepage="https://github.com/void-linux/void-packages"
|
||||
conf_files="/etc/fds/xserver"
|
||||
do_install() {
|
||||
vmkdir etc/fonts/conf.d
|
||||
ln -s ../conf.avail/75-yes-terminus.conf "${DESTDIR}/etc/fonts/conf.d/75-yes-terminus.conf"
|
||||
for f in WindowMaker WMRootMenu WMWindowAttributes; do
|
||||
vinstall "${FILESDIR}/${f}" 644 usr/share/fds/eink
|
||||
done
|
||||
for f in windowmaker-session terminal desktop-runtime; do
|
||||
vinstall "${FILESDIR}/${f}" 755 usr/libexec/fds
|
||||
done
|
||||
vinstall "${FILESDIR}/xserver" 644 etc/fds
|
||||
vinstall "${FILESDIR}/20-fds.conf" 644 usr/share/X11/xorg.conf.d
|
||||
}
|
||||
Reference in New Issue
Block a user