Skip to content

Commit cd8a839

Browse files
committed
fix: configure DMS as default shell
- Fix DMS user service enablement: replace broken `systemctl enable /usr/lib/systemd/user/dms.service` with correct `systemctl --global enable dms.service` (same pattern as kanshi) - Add build-time verification: RUN systemctl --global is-enabled dms.service - Remove dunst package (no reverse deps; DMS owns org.freedesktop.Notifications) - Suppress waybar bar via empty sway config.d override (DMS provides DankBar; waybar cannot be removed as sway-config-fedora depends on it) - Override $menu to DMS spotlight launcher (replaces removed rofi in $mod+d) - Fix misplaced blueman.desktop from PR #104: move to xdg/autostart/ and disable with Hidden=true (DMS provides its own BluetoothService)
1 parent 7b0b105 commit cd8a839

6 files changed

Lines changed: 14 additions & 4 deletions

File tree

Containerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ RUN dnf install -y \
3939
# DankMaterial Shell
4040
RUN yes | dnf copr enable avengemedia/dms && \
4141
dnf install -y dms && \
42-
systemctl enable /usr/lib/systemd/user/dms.service && \
42+
systemctl --global enable dms.service && \
4343
dnf remove -y \
44+
dunst \
4445
network-manager-applet \
4546
rofi \
4647
rofi-themes
48+
RUN systemctl --global is-enabled dms.service
4749

4850
# Docker
4951
RUN curl -o "/etc/yum.repos.d/docker.com.linux.fedora.docker-ce.repo" "https://download.docker.com/linux/fedora/docker-ce.repo" && \
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# DMS keybind overrides
2+
# Replace rofi launcher (removed in PR #104) with DMS spotlight
3+
set $menu dms ipc call spotlight toggle
4+
bindsym $mod+d exec $menu
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Disabled: DMS provides DankBar
2+
# This empty override suppresses waybar from /usr/share/sway/config.d/90-bar.conf
3+
# via sway's layered-include basename deduplication mechanism
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Disabled: DMS manages its own idle/lock (FadeToLock + loginctl integration)
2+
# This empty override suppresses swayidle/swaylock from /usr/share/sway/config.d/90-swayidle.conf
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[Desktop Entry]
2+
Hidden=true

files/usr/etc/xdg/blueman.desktop

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)