mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
hyprland: Drop unused mpv playerctl keybindings
I never ended up using these as much as I thought I would and getting rid of them helps to simplify the code base a bit.
This commit is contained in:
parent
b70ba76c80
commit
de7df4e114
@ -1,13 +1,7 @@
|
|||||||
{
|
{ pkgs, lib, ... }:
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
vars,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (lib) mkForce;
|
inherit (lib) mkForce;
|
||||||
inherit (vars) notifySend;
|
|
||||||
|
|
||||||
opacity = "0.95";
|
opacity = "0.95";
|
||||||
super = "SUPER";
|
super = "SUPER";
|
||||||
@ -28,8 +22,6 @@ in
|
|||||||
swww
|
swww
|
||||||
grimblast
|
grimblast
|
||||||
brightnessctl
|
brightnessctl
|
||||||
playerctl
|
|
||||||
libnotify
|
|
||||||
mpvpaper
|
mpvpaper
|
||||||
lnch
|
lnch
|
||||||
wev
|
wev
|
||||||
@ -211,11 +203,6 @@ in
|
|||||||
"${super}_SHIFT, A, exec, killall activate-linux || activate-linux -s 1.15 -x 412 -y 120 -c 1-1-1-0.05"
|
"${super}_SHIFT, A, exec, killall activate-linux || activate-linux -s 1.15 -x 412 -y 120 -c 1-1-1-0.05"
|
||||||
"${super}, O, exec, killall .ironbar-wrapper inotifywait pactl || ironbar"
|
"${super}, O, exec, killall .ironbar-wrapper inotifywait pactl || ironbar"
|
||||||
"${super}_SHIFT, O, exec, eww close overlay || eww open overlay"
|
"${super}_SHIFT, O, exec, eww close overlay || eww open overlay"
|
||||||
''${super}, comma, exec, playerctl -p mpv position "5-" && ${notifySend} "Minus 5 seconds" "$(playerctl -p mpv position)"''
|
|
||||||
''${super}, period, exec, playerctl -p mpv position "5+" && ${notifySend} "Plus 5 seconds" "$(playerctl -p mpv position)"''
|
|
||||||
''${super}_SHIFT, comma, exec, playerctl -p mpv previous && ${notifySend} "Previous track" "$(playerctl -p mpv metadata xesam:title)"''
|
|
||||||
''${super}_SHIFT, period, exec, playerctl -p mpv next && ${notifySend} "Next track" "$(playerctl -p mpv metadata xesam:title)"''
|
|
||||||
''${super}, slash, exec, playerctl -p mpv play-pause && ${notifySend} "mpv" "$(playerctl -p mpv status)"''
|
|
||||||
"${super}, M, focusmonitor, +1"
|
"${super}, M, focusmonitor, +1"
|
||||||
"${super}_SHIFT, M, focusmonitor, -1"
|
"${super}_SHIFT, M, focusmonitor, -1"
|
||||||
|
|
||||||
|
@ -188,12 +188,6 @@ in
|
|||||||
|
|
||||||
homeDirectory = "/home/${username}";
|
homeDirectory = "/home/${username}";
|
||||||
};
|
};
|
||||||
|
|
||||||
extraSpecialArgs = {
|
|
||||||
vars = {
|
|
||||||
notifySend = "notify-send -t 2000";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.vmVariant = {
|
virtualisation.vmVariant = {
|
||||||
|
Loading…
Reference in New Issue
Block a user