Power Off Button in i3blocks in i3wm

Power Off Button in i3blocks in i3wm

Add the following lines to your i3blocks config file at

/home/USER/.config/i3blocks/config

[onclick]                                                                      
full_text=⏻
command=clear
command=i3-nagbar -t warning -m 'Logout i3.' -B 'Yes exit i3' 'i3-msg exit'  1> /dev/zero