diff --git a/dmenu_run_history b/dmenu_run_history index 8d436ca..da19754 100755 --- a/dmenu_run_history +++ b/dmenu_run_history @@ -37,7 +37,9 @@ awk -v histfile=$historyfile ' } { - history[$0]++ + if ($0 != "poweroff" && $0 != "reboot" && $0 != "suspendSystem") { + history[$0]++ + } print }