oops
This commit is contained in:
parent
88b0d8bc41
commit
ac58853af6
|
@ -71,7 +71,8 @@ in with lib; {
|
||||||
# Make qt theming work
|
# Make qt theming work
|
||||||
export QT_QPA_PLATFORMTHEME="qt5ct"
|
export QT_QPA_PLATFORMTHEME="qt5ct"
|
||||||
# Prepare for wob
|
# Prepare for wob
|
||||||
export WOBSOCK $XDG_RUNTIME_DIR/wob.sock
|
export WOBSOCK="$XDG_RUNTIME_DIR/wob.sock"
|
||||||
|
rm -rf $WOBSOCK && mkfifo $WOBSOCK
|
||||||
'';
|
'';
|
||||||
config = {
|
config = {
|
||||||
# Startup wob
|
# Startup wob
|
||||||
|
@ -179,7 +180,7 @@ in with lib; {
|
||||||
"XF86AudioRaiseVolume" =
|
"XF86AudioRaiseVolume" =
|
||||||
"exec pactl set-sink-volume @DEFAULT_SINK@ +5% && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1| awk '{print substr($5, 1, length($5)-1)}' > $WOBSOCK";
|
"exec pactl set-sink-volume @DEFAULT_SINK@ +5% && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1| awk '{print substr($5, 1, length($5)-1)}' > $WOBSOCK";
|
||||||
"XF86AudioLowerVolume" =
|
"XF86AudioLowerVolume" =
|
||||||
"bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1 | awk '{print substr($5, 1, length($5)-1)}' > $WOBSOCK";
|
"exec pactl set-sink-volume @DEFAULT_SINK@ -5% && pactl get-sink-volume @DEFAULT_SINK@ | head -n 1 | awk '{print substr($5, 1, length($5)-1)}' > $WOBSOCK";
|
||||||
# Play/pause and next song
|
# Play/pause and next song
|
||||||
"XF86AudioPlay" = "exec mpc toggle";
|
"XF86AudioPlay" = "exec mpc toggle";
|
||||||
"XF86AudioNext" = "exec mpc next";
|
"XF86AudioNext" = "exec mpc next";
|
||||||
|
|
Loading…
Reference in New Issue