2025-02-03 23:18:47 +08:00
|
|
|
|
2025-02-14 09:51:45 +08:00
|
|
|
#
|
|
|
|
|
|
2025-02-09 15:54:18 +08:00
|
|
|
Master-Stack Layout
|
2025-02-04 21:44:32 +08:00
|
|
|
|
2025-02-19 16:33:38 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
https://github.com/user-attachments/assets/a9d4776e-b50b-48fb-94ce-651d8a749b8a
|
|
|
|
|
|
2025-02-03 23:18:47 +08:00
|
|
|
|
|
|
|
|
|
2025-02-09 15:54:18 +08:00
|
|
|
Scroller Layout
|
|
|
|
|
|
2025-02-19 16:33:38 +08:00
|
|
|
|
|
|
|
|
https://github.com/user-attachments/assets/c9bf9415-fad1-4400-bcdc-3ad2d76de85a
|
|
|
|
|
|
|
|
|
|
|
2025-02-09 15:54:18 +08:00
|
|
|
|
2025-02-14 09:51:45 +08:00
|
|
|
# Maomaowm
|
|
|
|
|
|
2025-02-17 12:13:32 +08:00
|
|
|
This project is developed based on `dwl(0.5)` ,
|
|
|
|
|
adding many operation that supported in hyprland and a hyprland-like keybinds,
|
|
|
|
|
niri-like scroll layout and sway-like scratchpad.
|
|
|
|
|
See below for more features.
|
|
|
|
|
|
|
|
|
|
# separate window layout for each workspace(tags), with separate workspace parameters
|
|
|
|
|
## support layout
|
|
|
|
|
- tile(master)
|
|
|
|
|
- scroller
|
|
|
|
|
- monocle
|
|
|
|
|
- grid
|
|
|
|
|
- dwindle
|
|
|
|
|
- sprial
|
|
|
|
|
|
|
|
|
|
# window open rules
|
|
|
|
|
## options
|
|
|
|
|
- appid: type-string if match it or title, the rule match
|
|
|
|
|
- title: type-string if match it or appid, the rule match
|
|
|
|
|
- tags: type-num(1-9) which tags to open the window
|
|
|
|
|
- isfloating: type-num(0 or 1)
|
|
|
|
|
- isfullscreen: type-num(0 or 1)
|
|
|
|
|
- scroller_proportion: type-float(0.1-1.0)
|
|
|
|
|
- animation_type : type-string(zoom,slide)
|
|
|
|
|
- isnoborder : type-num(0 or 1)
|
|
|
|
|
- monitor : type-num(0-99999)
|
|
|
|
|
- width : type-num(0-9999)
|
|
|
|
|
- height : type-num(0-9999)
|
2025-02-03 23:18:47 +08:00
|
|
|
|
2025-02-14 09:51:45 +08:00
|
|
|
# some special feature
|
2025-02-03 23:18:47 +08:00
|
|
|
- hycov like overview
|
|
|
|
|
- foreign-toplevel support(dunst,waybar wlr taskbar)
|
2025-02-14 09:51:45 +08:00
|
|
|
- minimize window to waybar(like hych)
|
2025-02-17 12:13:32 +08:00
|
|
|
- sway scratchpad support (minimize window to scratchpad)
|
2025-02-03 23:18:47 +08:00
|
|
|
- window pin mode support
|
2025-02-14 09:51:45 +08:00
|
|
|
- text-input-v2/v3 for fcitx5
|
2025-02-03 23:18:47 +08:00
|
|
|
- window move/open animaition
|
2025-02-04 20:59:34 +08:00
|
|
|
- workspace switch animaition
|
2025-02-06 22:55:41 +08:00
|
|
|
- fade in animation
|
2025-02-09 15:54:18 +08:00
|
|
|
- alt-tab switch window like gnome
|
|
|
|
|
- niri like scroller layout
|
2025-02-03 23:18:47 +08:00
|
|
|
|
2025-02-08 13:56:30 +08:00
|
|
|
## suggest tools
|
|
|
|
|
```
|
2025-02-18 12:24:32 +08:00
|
|
|
yay -S rofi foot xdg-desktop-portal-wlr swaybg waybar wl-clip-persist cliphist wl-clipboard wlsunset
|
2025-02-08 13:56:30 +08:00
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
2025-02-03 23:18:47 +08:00
|
|
|
# install
|
|
|
|
|
# wlroots(0.17)
|
|
|
|
|
```
|
|
|
|
|
git clone -b 0.17.4 https://gitlab.freedesktop.org/wlroots/wlroots.git
|
|
|
|
|
cd wlroots
|
|
|
|
|
meson build -Dprefix=/usr
|
|
|
|
|
sudo ninja -C build install
|
|
|
|
|
|
2025-02-05 20:57:28 +08:00
|
|
|
git clone https://github.com/DreamMaoMao/maomaowm.git
|
|
|
|
|
cd maomaowm
|
2025-02-03 23:18:47 +08:00
|
|
|
meson build -Dprefix=/usr
|
|
|
|
|
sudo ninja -C build install
|
|
|
|
|
|
2025-02-08 13:56:30 +08:00
|
|
|
# set your autostart app ih this
|
2025-02-09 17:39:31 +08:00
|
|
|
mkdir -p ~/.config/maomao/
|
2025-02-05 13:38:12 +08:00
|
|
|
|
2025-02-03 23:18:47 +08:00
|
|
|
|
|
|
|
|
```
|
2025-02-10 20:25:39 +08:00
|
|
|
|
2025-02-20 08:47:56 +08:00
|
|
|
|
2025-02-10 20:25:39 +08:00
|
|
|
# config
|
2025-02-16 23:09:46 +08:00
|
|
|
the config file is `~/.config/maomao/config.conf`
|
|
|
|
|
the autostart file is `~/.config/maomao/autostart.sh`
|
|
|
|
|
|
2025-02-10 20:25:39 +08:00
|
|
|
|
2025-02-20 08:47:56 +08:00
|
|
|
# my dotfile
|
|
|
|
|
[maomao-config](https://github.com/DreamMaoMao/dotfile/tree/main/maomao)
|
|
|
|
|
|
2025-02-03 23:18:47 +08:00
|
|
|
# thanks for some refer repo
|
2025-02-14 14:32:20 +08:00
|
|
|
- https://github.com/dqrk0jeste/owl - for basal window animaition
|
|
|
|
|
|
|
|
|
|
- https://github.com/djpohly/dwl - for basal dwl feature
|
|
|
|
|
|
|
|
|
|
- https://github.com/guyuming76/dwl - for text-input
|
|
|
|
|
|
|
|
|
|
- https://github.com/swaywm/sway - for foreign-toplevel
|