nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

commit 28b251fff6c85926a074ea07bb7e43edea9dbe0b
parent 80c542194e80cc17b94c80ccf62a618b97db836b
Author: Peter <peter@minskio.co.uk>
Date:   Thu,  1 Oct 2026 00:21:43 +0100

Add playerctl hotkey to hyprland

Diffstat:
Mhome/hyprland.nix | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/home/hyprland.nix b/home/hyprland.nix @@ -68,6 +68,7 @@ in hl.bind("SUPER + E", hl.dsp.exec_cmd("alacritty -e lf")) hl.bind("Print", hl.dsp.exec_cmd('${pkgs.grim}/bin/grim ~/screenshot_$(date +"%Y-%m-%d_%H-%M-%S").png')) hl.bind("SHIFT + Print", hl.dsp.exec_cmd('${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)" ~/screenshot_$(date +"%Y-%m-%d_%H-%M-%S").png')) + hl.bind("CTRL + ALT + M", hl.dsp.exec_cmd("${pkgs.playerctl}/bin/playerctl play-pause")) hl.bind("SUPER + L", hl.dsp.exec_cmd("power-menu")) -- WM controls hl.bind("SUPER + Space", hl.dsp.window.float({ action = "toggle" }))