Skip to content

Commit 01a8b77

Browse files
committed
Keyboard commands and disable motd
1 parent 5050d9e commit 01a8b77

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

Justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ build-iso flavor="main": _titanoboa-setup
142142
echo "Building ISO for ${IMAGE_FULL}..."
143143

144144
# Check if image exists
145-
ID=$({{ PODMAN }} images --filter reference="${IMAGE_FULL}" --format '{{`{{.ID}}`}}')
145+
ID=$({{ PODMAN }} images --filter reference="${IMAGE_FULL}" --format "{{{{.ID}}}}")
146146
if [[ -z "$ID" ]]; then
147147
echo "Error: Image ${IMAGE_FULL} not found. Run 'just build {{ flavor }}' first."
148148
exit 1

build_files/hypercube/03-hypercube-configs.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ install -Dm644 "${CONFIG_DIR}/gtk-4.0/settings.ini" /etc/xdg/gtk-4.0/settings.in
6767
# These support XDG_CONFIG_DIRS and will find configs in /usr/share/hypercube/config/
6868
# No skel copy needed - users can override by creating ~/.config/<app>/
6969

70+
### Disable Bluefin MOTD for new users
71+
# Create the toggle file that disables the MOTD prompt
72+
mkdir -p /etc/skel/.config/ublue
73+
touch /etc/skel/.config/ublue/no-show-user-motd
74+
7075
### Qt6 theming (Tokyo Night color scheme)
7176
# Qt6ct supports XDG_CONFIG_DIRS for system-wide defaults
7277
install -Dm644 "${CONFIG_DIR}/qt6ct/qt6ct.conf" /etc/xdg/qt6ct/qt6ct.conf

dot_files/hypr/hyprland.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,9 @@ input {
213213
kb_layout = us
214214
kb_variant =
215215
kb_model =
216-
kb_options =
216+
# caps:ctrl_modifier - Caps Lock acts as Ctrl
217+
# altwin:swap_alt_win - Swap Alt and Super (Win) keys
218+
kb_options = caps:ctrl_modifier,altwin:swap_alt_win
217219
kb_rules =
218220
follow_mouse = 1
219221
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Hypercube Dark Mode Settings
2-
# Forces dark mode system-wide for GNOME/GTK applications
1+
# Hypercube Settings
2+
# System-wide defaults for GNOME desktop
33

44
[org/gnome/desktop/interface]
55
color-scheme='prefer-dark'
@@ -9,3 +9,7 @@ cursor-theme='Adwaita'
99

1010
[org/gnome/desktop/wm/preferences]
1111
theme='Tokyonight-Dark-BL'
12+
13+
[org/gnome/desktop/input-sources]
14+
# XKB options: Caps Lock as Ctrl, swap Alt and Super
15+
xkb-options=['caps:ctrl_modifier', 'altwin:swap_alt_win']

0 commit comments

Comments
 (0)