feat(home:music): add binds

This commit is contained in:
ooks-io 2024-06-10 12:27:09 +12:00
parent 5f03166886
commit 20466f95b2
2 changed files with 9 additions and 1 deletions

View file

@ -24,6 +24,13 @@ in
mpv mpv
]; ];
ooknet.binds.spotify = {
launch = "${config.ooknet.binds.terminalLaunch} spotify_player";
next = "spotify_player playback next";
previous = "spotify_player playback previous";
play = "spotify_player playback play-pause";
};
programs.cava = { programs.cava = {
enable = true; enable = true;
settings = { settings = {
@ -119,6 +126,7 @@ in
} }
} }
''; '';
home.shellAliases = mkIf (zellij.enable || multiplexer == "zellij") { home.shellAliases = mkIf (zellij.enable || multiplexer == "zellij") {
zjm = "zellij --layout music"; zjm = "zellij --layout music";
}; };

View file

@ -21,7 +21,7 @@ in
"SUPER, escape, exec, ${binds.terminalLaunch} --title=BTOP btop" "SUPER, escape, exec, ${binds.terminalLaunch} --title=BTOP btop"
"SUPER CTRL, return, exec, ${binds.zellijMenu}" "SUPER CTRL, return, exec, ${binds.zellijMenu}"
"SUPER, delete, exec, ${binds.powermenu} -c dmenu" "SUPER, delete, exec, ${binds.powermenu}"