Skip to content
Open
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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Version 2.12.0
--------------------------------------------------------
- Tweaked ml4w-glass waybar theme
- Added a dock theme
- Added a custom launch.sh for new aero theme (dock)


Version 2.11.1
--------------------------------------------------------
- Compatible with Hyprland 0.54.x
Expand All @@ -8,6 +15,7 @@ Version 2.11.1
- New keybinding: SUPER+SHIFT+M to toggle between dark and light mode
- Hyprshade replaced with Hyprsunset. Configuration in ~./config/hypr/hyprsunset.conf (can be restored for updates)


Version 2.11.0
--------------------------------------------------------
- The SDDM script can copy the current wallpaper to SDDM and use it as a background image. Start the script with ~/.config/ml4w/scripts/ml4w-install-sddm or from the Welcome App/Settings/Display Manager
Expand Down
33 changes: 33 additions & 0 deletions dotfiles/.config/nwg-dock-hyprland/aerolaunch.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/usr/bin/env bash
# ___ __
# / _ \___ ____/ /__
# / // / _ \/ __/ '_/
# /____/\___/\__/_/\_\
#

DOCK_THEME="modern"
if [ -f $HOME/.config/ml4w/settings/dock-theme ]; then
DOCK_THEME=$(cat $HOME/.config/ml4w/settings/dock-theme)
fi

echo ":: Using Dock Theme $DOCK_THEME"

if [ ! -f $HOME/.config/ml4w/settings/dock-disabled ]; then
killall nwg-dock-hyprland
sleep 0.5

# -f: Force full width to reach edges
# -mb 10: Bottom margin (matches your gap)
# -ml 10: Left margin (matches your gap)
# -mr 10: Right margin (matches your gap)
# -w 20: High icon wrap count to ensure it stays a single long bar
# -c: Launcher script path

if [ -f $HOME/.config/ml4w/settings/dock-autohide ]; then
nwg-dock-hyprland -d -i 32 -f -mb 10 -ml 10 -mr 10 -w 20 -x -s themes/$DOCK_THEME/style.css -c "$HOME/.config/hypr/scripts/launcher.sh"
else
nwg-dock-hyprland -i 32 -f -mb 10 -ml 10 -mr 10 -w 20 -x -s themes/$DOCK_THEME/style.css -c "$HOME/.config/hypr/scripts/launcher.sh"
fi
else
echo ":: Dock disabled"
fi
1 change: 1 addition & 0 deletions dotfiles/.config/nwg-dock-hyprland/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ if [ ! -f $HOME/.config/ml4w/settings/dock-disabled ]; then
fi
else
echo ":: Dock disabled"
echo "It is recommended to use the aerolaunch.txt and rename it to launch.sh, with launch.sh renamed to anything else, when using the Aero theme."
fi
61 changes: 61 additions & 0 deletions dotfiles/.config/nwg-dock-hyprland/themes/aero/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
@import url("../../colors.css");
@import url("../../../ml4w/settings/dock-border.css");

window {
background: none;
border: none;
box-shadow: none;
/* Reduced vertical margin to keep it tight to the screen edge */
margin: 4px 0px;
padding: 0;
}

#box {
/* * Vertical padding reduced to 2px (top/bottom)
* Horizontal padding kept at 300px to maintain the 'long' look
*/
padding: 2px 300px;
margin: 0px 0px;
border-radius: 24px;

/* WAYBAR SHADING LOGIC */
background:
linear-gradient(to bottom, alpha(white, 0.15) 0%, transparent 40%, alpha(black, 0.1) 100%) padding-box,
radial-gradient(circle at 50% 250%, alpha(darker(@surface), 0.5), @surface) padding-box,
linear-gradient(to bottom, @primary, alpha(@on_primary, 0.7)) border-box;

border: 1px solid transparent;
background-clip: padding-box, padding-box, border-box;
background-origin: border-box;

opacity: 0.95;
box-shadow: none;
border-top: 1px solid rgba(255, 255, 255, 0.3);
}

button {
color: @on_surface;
border-radius: 8px;
/* Reduced vertical margin for buttons to 2px */
margin: 2px 10px;
padding: 6px;
transition: all 0.2s ease;
background: transparent;
border: 0px;
}

button:hover {
background: linear-gradient(to bottom, alpha(white, 0.2), transparent);
border: 1px solid alpha(white, 0.3);
box-shadow: inset 0px 1px 2px rgba(255, 255, 255, 0.2);
}

#active {
border-bottom: 2px solid @primary;
background: linear-gradient(to top, alpha(@primary, 0.2), transparent);
}

image {
background: none;
border: none;
}
Loading