Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions dotfiles/.config/hypr/conf/autostart.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@ hl.on("hyprland.start", function ()
-- Start waybar
hl.exec_cmd(HOME .. "/.config/waybar/launch.sh")

-- Start polkit daemon
hl.exec_cmd("/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1")
-- Start polkit agent: prefer hyprpolkitagent.service (Ubuntu, via
-- packages-ubuntu -- its unit is WantedBy=graphical-session.target,
-- which Hyprland never activates, so start it explicitly), falling
-- back to polkit-gnome-authentication-agent-1 where that unit
-- doesn't exist. Only one should run -- starting both means
-- duplicate polkit auth dialogs.
hl.exec_cmd("systemctl --user start hyprpolkitagent.service 2>/dev/null || /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 || true")

-- Restore wallpaper (skip for quickshell — handled inside ml4w-autostart)
if wallpaper_app ~= "quickshell" then
Expand All @@ -42,8 +47,10 @@ hl.on("hyprland.start", function ()
-- Load GTK settings
hl.exec_cmd("~/.config/hypr/scripts/gtk.sh")

-- Start swaync
hl.exec_cmd("swaync")
-- Start swaync -- skipped where D-Bus activation is already set up
-- (marker written by post-ubuntu.sh), since an explicit exec-once
-- there raced with it and lost with "already running!".
hl.exec_cmd("[ -f ~/.config/ml4w/.swaync-dbus-activated ] || swaync")

-- Start hypridle
hl.exec_cmd("hypridle")
Expand Down
2 changes: 1 addition & 1 deletion dotfiles/.config/hypr/scripts/launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ launcher=$(cat $HOME/.config/ml4w/settings/launcher)

# Use Walker
_launch_walker() {
$HOME/.config/walker/launch.sh --height 500
walker -t ml4w --height 500
}

# Use Rofi
Expand Down
8 changes: 8 additions & 0 deletions dotfiles/.config/matugen/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ input_path = '~/.config/matugen/templates/hyprland-colors.lua'
output_path = '~/.config/hypr/colors.lua'
post_hook = 'hyprctl reload'

[templates.hyprtoolkit]
input_path = '~/.config/matugen/templates/hyprtoolkit-colors.conf'
output_path = '~/.config/hypr/hyprtoolkit.conf'

[templates.waybar]
input_path = '~/.config/matugen/templates/colors.css'
output_path = '~/.config/waybar/colors.css'
Expand All @@ -48,6 +52,10 @@ output_path = '~/.cache/wal/colors.json'
input_path = '~/.config/matugen/templates/colors.css'
output_path = '~/.config/swaync/colors.css'

[templates.walker]
input_path = '~/.config/matugen/templates/colors.css'
output_path = '~/.config/walker/colors.css'

[templates.sequences]
input_path = '~/.config/matugen/templates/sequences'
output_path = '~/.cache/wal/sequences'
Expand Down
15 changes: 15 additions & 0 deletions dotfiles/.config/matugen/templates/hyprtoolkit-colors.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
background = 0xff{{colors.surface_dim.default.hex_stripped}}
base = 0xff{{colors.surface_container.default.hex_stripped}}
text = 0xff{{colors.on_surface.default.hex_stripped}}
alternate_base = 0xff{{colors.surface_container_high.default.hex_stripped}}
bright_text = 0xff{{colors.inverse_on_surface.default.hex_stripped}}
link_text = 0xff{{colors.tertiary.default.hex_stripped}}
accent = 0xff{{colors.primary.default.hex_stripped}}
accent_secondary = 0xff{{colors.secondary.default.hex_stripped}}

# Static (not wallpaper-derived) -- libadwaita's own corner-radius
# convention: 12px for windows/cards, 9px for controls like buttons.
rounding_large = 12
rounding_small = 9
font_family = Ubuntu Sans

6 changes: 6 additions & 0 deletions dotfiles/.config/ml4w/scripts/ml4w-autostart
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ info "Starting ML4W Power Menu"
ml4w-powermenu start &
info "ML4W Power Menu started"

# Start ML4W Walker (starts elephant first, then walker -- see
# ml4w-walker's own start command)
info "Starting ML4W Walker"
ml4w-walker start &
info "ML4W Walker started"

# Start ML4W Welcome App
info "Starting ML4W Welcome App"
if [ ! -f $HOME/.cache/ml4w-welcome-autostart ]; then
Expand Down
182 changes: 182 additions & 0 deletions dotfiles/.config/walker/themes/ml4w/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
@define-color window_bg_color #1f1f28;
@define-color accent_bg_color #54546d;
@define-color theme_fg_color #f2ecbc;
@define-color error_bg_color #C34043;
@define-color error_fg_color #DCD7BA;

@import "../../colors.css";

* {
all: unset;
}

.normal-icons {
-gtk-icon-size: 16px;
}

.large-icons {
-gtk-icon-size: 32px;
}

scrollbar {
opacity: 0;
}

.box-wrapper {
box-shadow:
0 19px 38px rgba(0, 0, 0, 0.3),
0 15px 12px rgba(0, 0, 0, 0.22);
background: @surface;
padding: 20px;
border-radius: 20px;
border: 2px solid @primary;
}

.preview-box,
.elephant-hint,
.placeholder {
color: @theme_fg_color;
}

.box {
}

.search-container {
border-radius: 10px;
border: 2px solid @primary;
}

.input placeholder {
opacity: 0.5;
}

.input {
background: transparent;
padding: 10px;
color: @on_surface;
}

.input:focus,
.input:active {
}

.content-container {
}

.placeholder {
}

.scroll {
}

.list {
color: @theme_fg_color;
}

child {
}

.item-box {
border-radius: 10px;
padding: 10px;
color:@on_surface;
}

.item-quick-activation {
margin-left: 10px;
background: alpha(@accent_bg_color, 0.25);
border-radius: 5px;
padding: 10px;
}

child:hover .item-box,
child:selected .item-box {
background: @primary;
color:@on_primary;
}

.item-text-box {
}

.item-text {
}

.item-subtext {
font-size: 12px;
opacity: 0.5;
}

.item-image,
.item-image-text {
margin-right: 10px;
}

.item-image-text {
font-size: 28px;
}

.preview {
border: 1px solid alpha(@accent_bg_color, 0.25);
padding: 10px;
border-radius: 10px;
color: @theme_fg_color;
}

.calc .item-text {
font-size: 24px;
}

.calc .item-subtext {
}

.symbols .item-image {
font-size: 24px;
}

.todo.done .item-text-box {
opacity: 0.25;
}

.todo.urgent {
font-size: 24px;
}

.todo.active {
font-weight: bold;
}

.bluetooth.disconnected {
opacity: 0.5;
}

.preview .large-icons {
-gtk-icon-size: 64px;
}

.keybinds-wrapper {
border-top: 0px solid lighter(@primary);
font-size: 12px;
opacity: 0.5;
color: @on_surface;
}

.keybinds {
}

.keybind {
}

.keybind-bind {
color: @on_surface;
font-weight: bold;
}

.keybind-label {
color: @on_surface;
}

.error {
padding: 10px;
background: @error_bg_color;
color: @error_fg_color;
}
28 changes: 28 additions & 0 deletions setup/dependencies/packages-ubuntu
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
hyprland
hyprland-guiutils
hyprpolkitagent
hyprsunset
sway-notification-center
fonts-font-awesome
tesseract-ocr
tesseract-ocr-eng
libsecret-1-0
libnotify-bin
network-manager-gnome
nm-connection-editor
power-profiles-daemon
gnome-themes-extra
gnome-themes-extra-data
gnome-themes-ubuntu
gvfs-backends
qml6-module-qt5compat-graphicaleffects
qml6-module-qt-labs-folderlistmodel
qml6-module-qtquick-effects
qml6-module-qtquick-shapes
qml6-module-qtquick-controls
qml6-module-qtquick-layouts
libgirepository-2.0-dev
libcairo2-dev
lua5.4
imagemagick
pipx
Loading