dotfiles/.local/bin/statusbar/sb-powerbutton
mintycube 895fe1ddb8 nvim+xinitrc+scripts
Update nvim
lauch dwm via dbus-lauch in xinitrc
use setsid for editing dwmblocks scripts
2024-05-04 19:49:22 +05:00

14 lines
236 B
Bash
Executable File

#!/bin/sh
# The clickable help menu. Middle click to restart wm.
case $BLOCK_BUTTON in
1) sysact ;;
6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
esac;
if [ ! -e ~/.cache/bar_color ]; then
echo " "
else
echo "^C1^ ^d^"
fi