dotfiles/.config/waybar/modules/powermenu.sh
2026-03-12 15:06:09 -03:00

7 lines
168 B
Bash
Executable file

#!/bin/bash
me=`whoami`
me_name=`getent passwd ${me} | cut -d ':' -f 5 | cut -d ',' -f 1`
class=powermenu
echo -e "{\"text\":\""$me_name"\", \"class\":\""$class"\"}"