Updated pyprland to toml and temp pypr ver fix

This commit is contained in:
Emmet 2024-04-26 15:30:58 -05:00
parent 46476efc80
commit f3a72fb022

View file

@ -290,7 +290,14 @@
polkit_gnome polkit_gnome
libva-utils libva-utils
gsettings-desktop-schemas gsettings-desktop-schemas
pyprland (pyprland.overrideAttrs (oldAttrs: {
src = fetchFromGitHub {
owner = "hyprland-community";
repo = "pyprland";
rev = "refs/tags/2.2.12";
hash = "sha256-SVly20/+67d0Rr2SuM1n/JfT1SlyKdKRBLDx2okCZRY=";
};
}))
gnome.zenity gnome.zenity
wlr-randr wlr-randr
wtype wtype
@ -489,40 +496,35 @@
valign = center valign = center
} }
''; '';
home.file.".config/hypr/pyprland.json".text = '' home.file.".config/hypr/pyprland.toml".text = ''
{ [pyprland]
"pyprland": { plugins = ["scratchpads", "magnify"]
"plugins": ["scratchpads", "magnify", "expose"]
}, [scratchpads.term]
"scratchpads": { command = "alacritty --class scratchpad"
"term": { margin = 50
"command": "alacritty --class scratchpad",
"margin": 50 [scratchpads.ranger]
}, command = "kitty --class scratchpad -e ranger"
"ranger": { margin = 50
"command": "kitty --class scratchpad -e ranger",
"margin": 50 [scratchpads.numbat]
}, command = "alacritty --class scratchpad -e numbat"
"numbat": { margin = 50
"command": "alacritty --class scratchpad -e numbat",
"margin": 50 [scratchpads.musikcube]
}, command = "alacritty --class scratchpad -e musikcube"
"musikcube": { margin = 50
"command": "alacritty --class scratchpad -e musikcube",
"margin": 50 [scratchpads.btm]
}, command = "alacritty --class scratchpad -e btm"
"btm": { margin = 50
"command": "alacritty --class scratchpad -e btm",
"margin": 50 [scratchpads.pavucontrol]
}, command = "pavucontrol"
"pavucontrol": { margin = 50
"command": "pavucontrol", unfocus = "hide"
"margin": 50, animation = "fromTop"
"unfocus": "hide",
"animation": "fromTop"
}
}
}
''; '';
programs.waybar = { programs.waybar = {