qtile: fix mute state filepath and add usage note
This commit is contained in:
parent
d49c719f36
commit
6bd147b541
2 changed files with 2 additions and 1 deletions
1
Justfile
1
Justfile
|
@ -72,6 +72,7 @@ update-this-device:
|
|||
sudo nix-channel --update
|
||||
just -v rebuild-this-device switch
|
||||
|
||||
# Iterate on a qtile config by running it inside Xephyr. (un-/grab the mouse with Ctrl + Shift-L)
|
||||
hm-iterate-qtile:
|
||||
#!/usr/bin/env bash
|
||||
set -xe
|
||||
|
|
|
@ -13,7 +13,7 @@ let
|
|||
pulseaudio findutils gnugrep
|
||||
]}:$PATH
|
||||
|
||||
export MUTEFILE=''${TEMPDIR:-/tmp}./.qtilemute
|
||||
export MUTEFILE=''${TEMPDIR:-/tmp}/.qtilemute
|
||||
case $1 in
|
||||
mute)
|
||||
newstate=$(( $(cat $MUTEFILE || echo 0 ) ^ 1 ))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue