Added Pyprland + Scratchpad
This commit is contained in:
@@ -8,5 +8,6 @@
|
|||||||
./hyprlock.nix
|
./hyprlock.nix
|
||||||
./keybinds.nix
|
./keybinds.nix
|
||||||
./monitors.nix
|
./monitors.nix
|
||||||
|
./pyprland.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 = [
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
22
modules/home/hypr/pyprland.nix
Normal file
22
modules/home/hypr/pyprland.nix
Normal 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
|
||||||
|
'';
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user