Skip to content

Commit d29acdc

Browse files
committed
Update build script for installing dank linux with niri and alacritty, add default configuration and theme, and include dms service files for niri
1 parent 0b2d690 commit d29acdc

18 files changed

Lines changed: 1220 additions & 13 deletions

File tree

build_files/build.sh

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,19 @@ cp -avf "/ctx/system_files"/. /
1212
# List of rpmfusion packages can be found here:
1313
# https://mirrors.rpmfusion.org/mirrorlist?path=free/fedora/updates/43/x86_64/repoview/index.html&protocol=https&redirect=1
1414

15-
# this installs a package from fedora repos
16-
dnf5 install -y tmux
17-
18-
# Use a COPR Example:
19-
#
20-
# dnf5 -y copr enable ublue-os/staging
21-
# dnf5 -y install package
22-
# Disable COPRs so they don't end up enabled on the final image:
23-
# dnf5 -y copr disable ublue-os/staging
24-
25-
#### Example for enabling a System Unit File
26-
27-
systemctl enable podman.socket
15+
# Enable the COPR repos for dms and danklinux packages
16+
dnf5 -y copr enable avengemedia/dms
17+
dnf5 -y copr enable avengemedia/danklinux
18+
19+
# Install dms packages, niri and alacritty
20+
dnf5 install -y --refresh niri alacritty dms
21+
22+
# Disable the COPR repos for dms and danklinux packages
23+
dnf5 -y copr disable avengemedia/dms
24+
dnf5 -y copr disable avengemedia/danklinux
25+
26+
# Clean up before finalizing the image
27+
rm -rf /tmp/*
28+
rm -rf /var/tmp/*
29+
dnf5 clean all
30+
rm -rf /var/cache/dnf /var/lib/dnf/repos /var/lib/dnf/system-repo.lock
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[Unit]
2+
Description=Dank Material Shell (DMS)
3+
PartOf=graphical-session.target
4+
After=graphical-session.target
5+
Requisite=graphical-session.target
6+
7+
[Service]
8+
Type=dbus
9+
BusName=org.freedesktop.Notifications
10+
ExecStart=/usr/bin/dms run --session
11+
ExecReload=/usr/bin/pkill -USR1 -x dms
12+
Restart=on-failure
13+
RestartSec=1.23
14+
TimeoutStopSec=10
15+
16+
[Install]
17+
WantedBy=graphical-session.target
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/usr/lib/systemd/user/dms.service

0 commit comments

Comments
 (0)