feat: drop playerctl
This commit is contained in:
@@ -16,9 +16,8 @@ in
|
|||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
my = {
|
my = {
|
||||||
hm = {
|
hm = {
|
||||||
home.packages = with pkgs; [
|
home.packages = [
|
||||||
playerctl
|
pkgs.go-musicfox
|
||||||
go-musicfox
|
|
||||||
];
|
];
|
||||||
sops.secrets.go-musicfox = {
|
sops.secrets.go-musicfox = {
|
||||||
sopsFile = secrets.go-musicfox;
|
sopsFile = secrets.go-musicfox;
|
||||||
|
|||||||
@@ -142,7 +142,7 @@
|
|||||||
"ipc"
|
"ipc"
|
||||||
"call"
|
"call"
|
||||||
]
|
]
|
||||||
++ (pkgs.lib.splitString " " cmd);
|
++ (lib.splitString " " cmd);
|
||||||
in
|
in
|
||||||
with config.my.hm.lib.niri.actions;
|
with config.my.hm.lib.niri.actions;
|
||||||
{
|
{
|
||||||
@@ -180,30 +180,15 @@
|
|||||||
};
|
};
|
||||||
"XF86AudioMute" = {
|
"XF86AudioMute" = {
|
||||||
allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
action.spawn = [
|
action.spawn = noctalia "media playPause";
|
||||||
"playerctl"
|
|
||||||
"-i"
|
|
||||||
"firefox,chromium,zen"
|
|
||||||
"play-pause"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
"Super+XF86AudioRaiseVolume" = {
|
"Super+XF86AudioRaiseVolume" = {
|
||||||
allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
action.spawn = [
|
action.spawn = noctalia "media next";
|
||||||
"playerctl"
|
|
||||||
"-i"
|
|
||||||
"firefox,chromium,zen"
|
|
||||||
"next"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
"Super+XF86AudioLowerVolume" = {
|
"Super+XF86AudioLowerVolume" = {
|
||||||
allow-when-locked = true;
|
allow-when-locked = true;
|
||||||
action.spawn = [
|
action.spawn = noctalia "media previous";
|
||||||
"playerctl"
|
|
||||||
"-i"
|
|
||||||
"firefox,chromium,zen"
|
|
||||||
"previous"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
"XF86MonBrightnessUp" = {
|
"XF86MonBrightnessUp" = {
|
||||||
|
|||||||
@@ -64,7 +64,6 @@ in
|
|||||||
wlr-randr
|
wlr-randr
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
cliphist
|
cliphist
|
||||||
playerctl
|
|
||||||
brightnessctl
|
brightnessctl
|
||||||
|
|
||||||
nautilus
|
nautilus
|
||||||
|
|||||||
Reference in New Issue
Block a user