Added Pyprland + Scratchpad

This commit is contained in:
2025-12-07 23:53:43 -05:00
parent 4c5b7a966d
commit 7da6384e89
4 changed files with 27 additions and 0 deletions

View File

@@ -8,5 +8,6 @@
./hyprlock.nix ./hyprlock.nix
./keybinds.nix ./keybinds.nix
./monitors.nix ./monitors.nix
./pyprland.nix
]; ];
} }

View File

@@ -57,6 +57,7 @@
"systemctl --user enable --now hyprpolkitagent.service" "systemctl --user enable --now hyprpolkitagent.service"
"systemctl --user enable app-com.mitchellh.ghostty.service" "systemctl --user enable app-com.mitchellh.ghostty.service"
"wpaperd -d" "wpaperd -d"
"pypr"
]; ];
env = [ env = [

View File

@@ -44,6 +44,9 @@
", XF86AudioNext, exec, playerctl next" ", XF86AudioNext, exec, playerctl next"
", XF86AudioMute, exec, pamixer -t" ", XF86AudioMute, exec, pamixer -t"
"ALT, XF86AudioMute, exec, pamixer --default-source -t" "ALT, XF86AudioMute, exec, pamixer --default-source -t"
# Scratchpads
"$mod, TAB, exec, pypr toggle term"
] ]
++ ( ++ (
# workspaces # workspaces

View File

@@ -0,0 +1,22 @@
{
pkgs,
...
}:
{
home.packages = with pkgs; [
pyprland
];
xdg.configFile."hypr/pyprland.toml".text = ''
[pyprland]
plugins = ["scratchpads"]
[scratchpads.term]
command = "foot --app-id term_dropdown"
class = "term_dropdown"
animation = "fromTop"
margin = 150
max_size = "1920px 1080px"
multi = false
'';
}