mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
hyprland: make audio position changes on key hold
This commit is contained in:
parent
832543c289
commit
e2e04596bc
@ -112,6 +112,7 @@ in
|
|||||||
animations = {
|
animations = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
bezier = "myBezier, 0.05, 0.9, 0.1, 1.05";
|
bezier = "myBezier, 0.05, 0.9, 0.1, 1.05";
|
||||||
|
|
||||||
animation = [
|
animation = [
|
||||||
"windows, 1, 7, myBezier"
|
"windows, 1, 7, myBezier"
|
||||||
"windowsOut, 1, 7, default, popin 80%"
|
"windowsOut, 1, 7, default, popin 80%"
|
||||||
@ -243,14 +244,14 @@ in
|
|||||||
", XF86AudioNext, exec, playerctl -p playerctld next"
|
", XF86AudioNext, exec, playerctl -p playerctld next"
|
||||||
", XF86AudioPlay, exec, playerctl -p playerctld play"
|
", XF86AudioPlay, exec, playerctl -p playerctld play"
|
||||||
", XF86AudioPause, exec, playerctl -p playerctld pause"
|
", XF86AudioPause, exec, playerctl -p playerctld pause"
|
||||||
", XF86AudioForward, exec, playerctl -p playerctld position 10+"
|
|
||||||
", XF86AudioRewind, exec, playerctl -p playerctld position 10-"
|
|
||||||
", XF86Messenger, togglespecialworkspace"
|
", XF86Messenger, togglespecialworkspace"
|
||||||
];
|
];
|
||||||
|
|
||||||
binde = [
|
binde = [
|
||||||
", XF86AudioRaiseVolume, exec, ${dunst-scripts}/bin/mv-up"
|
", XF86AudioRaiseVolume, exec, ${dunst-scripts}/bin/mv-up"
|
||||||
", XF86AudioLowerVolume, exec, ${dunst-scripts}/bin/mv-down"
|
", XF86AudioLowerVolume, exec, ${dunst-scripts}/bin/mv-down"
|
||||||
|
", XF86AudioForward, exec, playerctl -p playerctld position 10+"
|
||||||
|
", XF86AudioRewind, exec, playerctl -p playerctld position 10-"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user