Add screen recording
This commit is contained in:
@@ -21,12 +21,23 @@
|
||||
];
|
||||
|
||||
modules-right = [
|
||||
"custom/recording"
|
||||
"pulseaudio"
|
||||
"cpu"
|
||||
"tray"
|
||||
"clock"
|
||||
];
|
||||
|
||||
"custom/recording" = {
|
||||
exec = ''
|
||||
if pgrep -x wf-recorder >/dev/null; then
|
||||
echo "🔴 REC"
|
||||
fi
|
||||
'';
|
||||
interval = 1;
|
||||
tooltip = false;
|
||||
};
|
||||
|
||||
pulseaudio = {
|
||||
format = "{icon} {volume}%";
|
||||
format-muted = " muted";
|
||||
|
||||
Reference in New Issue
Block a user