I’m trying to set up a bind on Hyprland using SHIFT + XF86AudioPause to control my previous media player but I can’t make it work. can you combine modifiers w multimedia keys? if so what am I doing wrong?

EDIT: thanks to @timroerstroem@feddit.dk and @bjoern_tantau@swg-empire.de, figured out my mistake cuz of them.

here’s my updated config

hl.bind("SHIFT + XF86AudioPlay", hl.dsp.exec_cmd("playerctld shift && playerctl --player=vlc play-pause"), { locked = true })

  • sinextitan@lemmy.worldOP
    link
    fedilink
    arrow-up
    4
    ·
    4 days ago

    turns out my kb doesn’t have a XF86AudioPause button, so both play and pause are settled by XF86AudioPlay. so I was trying to make it work w a bind that can’t exist. the cmd that I was executing, this time I fully copied it into the terminal and figured out the error. ‘playerctld’ does not have the same flags as ‘playerctl’. dk y my dumbass thought that.