rebrand!: Antergos NeXT -> Euri Linux
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
|
||||
ROOT=""
|
||||
|
||||
for arg in "$@"; do
|
||||
case "$arg" in
|
||||
--root=*)
|
||||
ROOT="${arg#*=}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
MACHINE_ID_FILE="${ROOT}/etc/machine-id"
|
||||
|
||||
if [ -f "$MACHINE_ID_FILE" ] && [ -s "$MACHINE_ID_FILE" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
mkdir -p "$(dirname "$MACHINE_ID_FILE")"
|
||||
|
||||
if command -v dbus-uuidgen &>/dev/null; then
|
||||
dbus-uuidgen --ensure 2>/dev/null
|
||||
fi
|
||||
|
||||
if [ ! -f "$MACHINE_ID_FILE" ] || [ ! -s "$MACHINE_ID_FILE" ]; then
|
||||
od -An -N16 -tx1 /dev/urandom | tr -d ' \n' > "$MACHINE_ID_FILE"
|
||||
fi
|
||||
|
||||
chmod 0644 "$MACHINE_ID_FILE"
|
||||
@@ -0,0 +1,13 @@
|
||||
NAME="Euri Linux"
|
||||
PRETTY_NAME="Euri Linux 2026.08.17 Arranxo"
|
||||
ID=euri
|
||||
ID_LIKE=artix
|
||||
VERSION_ID=2026.08.17
|
||||
VERSION_CODENAME=arranxo
|
||||
BUILD_ID=rolling
|
||||
ANSI_COLOR="38;2;0;136;204"
|
||||
HOME_URL="https://github.com/Antergos-NeXT"
|
||||
DOCUMENTATION_URL="https://wiki.archlinux.org"
|
||||
SUPPORT_URL="https://github.com/Antergos-NeXT"
|
||||
BUG_REPORT_URL="https://github.com/Antergos-NeXT"
|
||||
LOGO=euri-logo
|
||||
@@ -0,0 +1,39 @@
|
||||
#!/usr/bin/env bash
|
||||
# One-shot wallpaper setter for Euri Linux
|
||||
# Runs at first login via autostart, then disables itself
|
||||
# Configures Smart Video Wallpaper Reborn plugin
|
||||
|
||||
LOG="/tmp/euri-wallpaper.log"
|
||||
MARKER="$HOME/.config/euri-wallpaper-set"
|
||||
VIDEO="/usr/share/backgrounds/euri/euri-wallpaper.mp4"
|
||||
PLUGIN="luisbocanegra.smart.video.wallpaper.reborn"
|
||||
|
||||
echo "[$(date)] Starting" > "$LOG"
|
||||
|
||||
if [[ -f "$MARKER" ]]; then
|
||||
echo "[$(date)] Marker exists, exiting" >> "$LOG"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ ! -f "$VIDEO" ]]; then
|
||||
echo "[$(date)] Video not found: $VIDEO" >> "$LOG"
|
||||
touch "$MARKER"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "[$(date)] Applying video wallpaper via qdbus6..." >> "$LOG"
|
||||
|
||||
qdbus6 org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript "
|
||||
var allDesktops = desktops();
|
||||
for (var i = 0; i < allDesktops.length; i++) {
|
||||
var d = allDesktops[i];
|
||||
d.wallpaperPlugin = '$PLUGIN';
|
||||
d.currentConfigGroup = Array('Wallpaper', '$PLUGIN', 'General');
|
||||
d.writeConfig('VideoUrls', '[{\"filename\": \"file:///usr/share/backgrounds/euri/euri-wallpaper.mp4\", \"enabled\": true}]');
|
||||
d.writeConfig('Volume', '0');
|
||||
d.writeConfig('MuteMode', '5');
|
||||
}
|
||||
" >> "$LOG" 2>&1
|
||||
|
||||
touch "$MARKER"
|
||||
echo "[$(date)] Done" >> "$LOG"
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
+83
@@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
|
||||
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
|
||||
<kcfgfile name=""/>
|
||||
|
||||
<group name="General">
|
||||
<entry name="Blur" type="bool">
|
||||
<label>Blur background filling</label>
|
||||
<default>false</default>
|
||||
</entry>
|
||||
<entry name="Color" type="Color">
|
||||
<label>Color of the wallpaper</label>
|
||||
<default>#ffffff</default>
|
||||
</entry>
|
||||
<entry name="Image" type="String">
|
||||
<label>Wallpaper image path or wallpaper name</label>
|
||||
<tooltip>
|
||||
If the specified KPackage wallpaper contains dark images, then the following
|
||||
URL fragments may be specified:
|
||||
|
||||
- #day-night: switch between light and dark images based on time of day
|
||||
- #dark: only use the dark image
|
||||
- #light: only use the light image
|
||||
- if no fragment is specified, plasma will switch between dark and light
|
||||
images depending on the currently used color scheme
|
||||
</tooltip>
|
||||
<default>file:///usr/share/wallpapers/euri-wallpaper/contents/images/euri-wallpaper.png</default>
|
||||
</entry>
|
||||
<entry name="PreviewImage" type="String">
|
||||
<label>Wallpaper preview image path</label>
|
||||
<default>null</default>
|
||||
</entry>
|
||||
<entry name="FillMode" type="int">
|
||||
<label>Sizing, cropping and positioning of the wallpaper image</label>
|
||||
<default>2</default>
|
||||
</entry>
|
||||
<entry name="SlideshowFoldersFirst" type="bool">
|
||||
<label>Display folders first when on slideshow</label>
|
||||
<default>false</default>
|
||||
</entry>
|
||||
<entry name="SlidePaths" type="StringList">
|
||||
<label>Paths used for the slideshow</label>
|
||||
<default>preferred://wallpaperlocations</default>
|
||||
</entry>
|
||||
<entry name="SlideInterval" type="int">
|
||||
<label>Interval between slides (s)</label>
|
||||
<default>900</default>
|
||||
</entry>
|
||||
<entry name="UncheckedSlides" type="StringList">
|
||||
<label>Unchecked Slides</label>
|
||||
<default></default>
|
||||
</entry>
|
||||
<entry name="SlideshowMode" type="int">
|
||||
<label>Ordering mode for the slideshow</label>
|
||||
<default>0</default>
|
||||
</entry>
|
||||
<entry name="DynamicMode" type="UInt">
|
||||
<label>Preferred dynamic wallpaper mode</label>
|
||||
<tooltip>
|
||||
This is a KCM implementation detail. It is used to make the dynamic
|
||||
mode preferance persistent. #day-night, #dark, and #light fragments in
|
||||
the Image URL actually specify what image will be used.
|
||||
|
||||
Possible values:
|
||||
- 0: switch based on whether the Plasma style is dark or light
|
||||
- 1: switch at sunrise and sunset
|
||||
- 2: only use the light image
|
||||
- 3: only use the dark image
|
||||
</tooltip>
|
||||
<default>0</default>
|
||||
</entry>
|
||||
<entry name="DarkLightScheduleState" type="String">
|
||||
<label>Saved dark light schedule state</label>
|
||||
<default></default>
|
||||
</entry>
|
||||
<entry name="ForceImageAnimation" type="bool">
|
||||
<label>Force animated images to play</label>
|
||||
<default>false</default>
|
||||
</entry>
|
||||
</group>
|
||||
</kcfg>
|
||||
Reference in New Issue
Block a user