update maomaowm input (wlroots-0.19)

This commit is contained in:
EdenQwQ 2025-03-25 22:43:23 +08:00
parent 7717931b6c
commit a85586b88d
3 changed files with 34 additions and 29 deletions

19
flake.lock generated
View file

@ -529,17 +529,18 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1742791827, "lastModified": 1742902339,
"narHash": "sha256-R3Z3N/2sRXyIWkfCbCrAzmgJOE0mPoQwBprfiacOuSs=", "narHash": "sha256-6cCVa6LsQr7PgkPsA5px4Bm8ox4MBZUq1AlMyGfYHLU=",
"ref": "refs/heads/main", "owner": "DreamMaoMao",
"rev": "982827cb8e624e59ec3aaf4a888e55b812f689c4", "repo": "maomaowm",
"revCount": 187, "rev": "2dcfdf84e3f217c46a33478e5ebd80d5fdb95285",
"type": "git", "type": "github"
"url": "file:///home/eden/Repos/maomaowm-test"
}, },
"original": { "original": {
"type": "git", "owner": "DreamMaoMao",
"url": "file:///home/eden/Repos/maomaowm-test" "ref": "wlroots-0.19",
"repo": "maomaowm",
"type": "github"
} }
}, },
"mmsg": { "mmsg": {

View file

@ -74,7 +74,8 @@
nh.url = "github:viperML/nh"; nh.url = "github:viperML/nh";
treefmt-nix.url = "github:numtide/treefmt-nix"; treefmt-nix.url = "github:numtide/treefmt-nix";
agenix.url = "github:ryantm/agenix"; agenix.url = "github:ryantm/agenix";
# maomaowm.url = "github:DreamMaoMao/maomaowm"; # maomaowm.url = "github:DreamMaoMao/maomaowm/wlroots-0.19";
maomaowm.url = "git+file:///home/eden/Repos/maomaowm-test"; maomaowm.url = "git+file:///home/eden/Repos/maomaowm-orig";
maomaowm.inputs.nixpkgs.follows = "nixpkgs";
}; };
} }

View file

@ -88,15 +88,15 @@
# tags rule # tags rule
# layout support: tile,scroller,grid,monocle,spiral,dwindle # layout support: tile,scroller,grid,monocle,spiral,dwindle
tags=id:1,layout_name:tile tags=id:1,layout_name:scroller
tags=id:2,layout_name:tile tags=id:2,layout_name:scroller
tags=id:3,layout_name:tile tags=id:3,layout_name:scroller
tags=id:4,layout_name:tile tags=id:4,layout_name:scroller
tags=id:5,layout_name:tile tags=id:5,layout_name:scroller
tags=id:6,layout_name:tile tags=id:6,layout_name:scroller
tags=id:7,layout_name:tile tags=id:7,layout_name:scroller
tags=id:8,layout_name:tile tags=id:8,layout_name:scroller
tags=id:9,layout_name:tile tags=id:9,layout_name:scroller
# Window Rules # Window Rules
# appid: type-string if match it or title, the rule match # appid: type-string if match it or title, the rule match
@ -126,7 +126,11 @@
# windowrule=animation_type_open:zoom,appid:wofi # windowrule=animation_type_open:zoom,appid:wofi
# windowrule=globalkeybinding:ctrl+alt-o,appid:com.obsproject.Studio # windowrule=globalkeybinding:ctrl+alt-o,appid:com.obsproject.Studio
# windowrule=globalkeybinding:ctrl+alt-n,appid:com.obsproject.Studio # windowrule=globalkeybinding:ctrl+alt-n,appid:com.obsproject.Studio
windowrule=isfloating:1,appid:yad
windowrule=globalkeybinding:ctrl+alt-a,appid:com.obsproject.Studio
windowrule=globalkeybinding:ctrl+alt-s,appid:com.obsproject.Studio
windowrule=scroller_proportion:1.0,appid:kitty
windowrule=scroller_proportion:1.0,appid:firefox
# open in specific tag # open in specific tag
# windowrule=tags:4,appid:Google-chrome # windowrule=tags:4,appid:Google-chrome
@ -148,8 +152,8 @@
# 7:flip and rotate 270 degrees counter-clockwise # 7:flip and rotate 270 degrees counter-clockwise
# example # example
monitorrule=eDP-1,0.55,1,tile,0,1.6,1000,0 monitorrule=eDP-1,0.55,1,scroller,0,1.6,1000,0
monitorrule=HDMI-A-1,0.55,1,tile,1,1.6,0,0 monitorrule=HDMI-A-1,0.55,1,scroller,1,1.6,0,0
# Key Bindings # Key Bindings
# The mod key is not case sensitive, # The mod key is not case sensitive,
@ -208,8 +212,8 @@
# switch layout # switch layout
bind=CTRL+SUPER,i,setlayout,tile bind=CTRL+SUPER,t,setlayout,tile
bind=CTRL+SUPER,l,setlayout,scroller bind=CTRL+SUPER,s,setlayout,scroller
bind=SUPER,n,switch_layout bind=SUPER,n,switch_layout
@ -266,8 +270,8 @@
# monitor switch # monitor switch
bind=SUPER+CTRL,h,focusmon,left bind=SUPER+CTRL,h,focusmon,left
bind=SUPER+CTRL,l,focusmon,right bind=SUPER+CTRL,l,focusmon,right
bind=SUPER+CTRL,bracketleft,tagmon,left bind=SUPER+CTRL+SHIFT,H,tagmon,left
bind=SUPER+CTRL,bracketright,tagmon,right bind=SUPER+CTRL+SHIFT,L,tagmon,right
# gaps # gaps
bind=ALT+SHIFT,X,incgaps,1 bind=ALT+SHIFT,X,incgaps,1
@ -310,10 +314,9 @@
wlsunset -s 00:00 -S 00:00 -t 5000 -T 5001 & wlsunset -s 00:00 -S 00:00 -t 5000 -T 5001 &
killall .waybar-wrapped killall .waybar-wrapped
waybar -c ~/.config/maomao/waybar/config.jsonc -s ~/.config/maomao/waybar/style.css & waybar -c ~/.config/maomao/waybar/config.jsonc -s ~/.config/maomao/waybar/style.css &
killall .fcitx5-wrapped
killall .nm-applet-wrap killall .nm-applet-wrap
killall .blueman-applet killall .blueman-applet
fcitx5 -d & fcitx5 -d -r &
nm-applet & nm-applet &
blueman-applet & blueman-applet &
'' ''