Skip to content

Commit 3df9af5

Browse files
committed
GDM and branding fixes
1 parent 279b84e commit 3df9af5

File tree

6 files changed

+78
-4
lines changed

6 files changed

+78
-4
lines changed

build_files/build.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,30 @@ DeviceTimeout=8
127127
EOF
128128
fi
129129

130+
# Rebuild initramfs to include Plymouth theme
131+
# This is required for the theme to be available during early boot
132+
echo "Rebuilding initramfs with Plymouth theme..."
133+
dracut --force --regenerate-all
134+
130135
echo "Hypercube Plymouth theme installed successfully"
131136
fi
137+
138+
### Install GDM branding (login screen customization)
139+
if [ -d /usr/share/hypercube/config/gdm/dconf ]; then
140+
echo "Installing GDM branding..."
141+
142+
# Install dconf profile for GDM
143+
mkdir -p /etc/dconf/profile
144+
cp -f /usr/share/hypercube/config/gdm/dconf/profile /etc/dconf/profile/gdm
145+
146+
# Create dconf database directory
147+
mkdir -p /etc/dconf/db/hypercube-gdm.d
148+
149+
# Copy the GDM settings file
150+
cp -f /usr/share/hypercube/config/gdm/dconf/hypercube-gdm /etc/dconf/db/hypercube-gdm.d/00-hypercube
151+
152+
# Compile the dconf database
153+
dconf update
154+
155+
echo "GDM branding installed successfully"
156+
fi

dot_files/gdm/dconf/hypercube-gdm

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Hypercube GDM dconf settings
2+
# Tokyo Night theme colors applied to GDM login screen
3+
4+
[org/gnome/login-screen]
5+
# Disable user list for cleaner look (optional - comment out to show user list)
6+
disable-user-list=false
7+
8+
# Enable banner message with Hypercube branding
9+
banner-message-enable=true
10+
banner-message-text='Welcome to Hypercube'
11+
12+
# Logo for GDM (displayed above login)
13+
logo='/usr/share/pixmaps/hypercube-logo.png'
14+
15+
[org/gnome/desktop/background]
16+
# GDM background - uses the same background as hyprlock
17+
picture-uri='file:///usr/share/hypercube/config/hypr/background.webp'
18+
picture-uri-dark='file:///usr/share/hypercube/config/hypr/background.webp'
19+
picture-options='zoom'
20+
21+
# Tokyo Night background color as fallback
22+
primary-color='#1a1b26'
23+
secondary-color='#1a1b26'
24+
color-shading-type='solid'
25+
26+
[org/gnome/desktop/screensaver]
27+
# Lock screen background matches GDM
28+
picture-uri='file:///usr/share/hypercube/config/hypr/background.webp'
29+
primary-color='#1a1b26'
30+
secondary-color='#1a1b26'
31+
color-shading-type='solid'
32+
picture-options='zoom'
33+
34+
[org/gnome/desktop/interface]
35+
# Tokyo Night compatible GTK theme and icon settings
36+
color-scheme='prefer-dark'
37+
cursor-theme='Adwaita'
38+
icon-theme='Adwaita'
39+
gtk-theme='Adwaita-dark'

dot_files/gdm/dconf/profile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
user-db:user
2+
system-db:hypercube-gdm

dot_files/hypr/hyprland.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ $menu = /usr/bin/walker
5151
# Data Broker
5252
exec-once = systemctl --user start elephant.service
5353

54-
# Application Launcher
55-
exec-once = walker --gapplication-service
54+
# Application Launcher (delayed to ensure Wayland is ready)
55+
exec-once = sleep 1 && walker --gapplication-service
5656

5757
# Notifications
5858
exec-once = systemctl --global start mako.service

dot_files/walker/config.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ disable_mouse = false
1111
debug = false
1212
page_jump_items = 10
1313
hide_quick_activation = false
14+
single_click = true
15+
16+
# Column settings for grid-based providers
17+
[columns]
18+
symbols = 3
1419

1520
[shell]
1621
anchor_top = true

packages/walker/build.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ fi
3636
cd /
3737
rm -rf /tmp/walker /tmp/cargo /tmp/cargo-target
3838

39-
# Remove build dependencies to keep layer small
40-
dnf5 -y remove rust cargo protobuf-compiler
39+
# Ensure runtime dependencies are installed (gtk4-layer-shell is needed at runtime)
40+
dnf5 -y install gtk4-layer-shell
41+
42+
# Remove build-only dependencies to keep layer small
43+
dnf5 -y remove rust cargo protobuf-compiler gtk4-devel gtk4-layer-shell-devel cairo-devel poppler-glib-devel
4144
dnf5 -y clean all
4245

0 commit comments

Comments
 (0)