diff options
Diffstat (limited to 'dot_config/i3/scripts')
-rw-r--r-- | dot_config/i3/scripts/executable_powermenu | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dot_config/i3/scripts/executable_powermenu b/dot_config/i3/scripts/executable_powermenu index e72f0a2..989ab2c 100644 --- a/dot_config/i3/scripts/executable_powermenu +++ b/dot_config/i3/scripts/executable_powermenu | |||
@@ -172,7 +172,8 @@ function ask_confirmation() { | |||
172 | fi | 172 | fi |
173 | 173 | ||
174 | if [ "${confirmed}" == 0 ]; then | 174 | if [ "${confirmed}" == 0 ]; then |
175 | i3-msg -q "exec ${menu[${selection}]}" | 175 | exec ${menu[${selection}]} |
176 | #i3-msg -q "exec ${menu[${selection}]}" | ||
176 | fi | 177 | fi |
177 | } | 178 | } |
178 | 179 | ||
@@ -181,6 +182,7 @@ if [[ $? -eq 0 && ! -z ${selection} ]]; then | |||
181 | ${menu_confirm} =~ (^|[[:space:]])"${selection}"($|[[:space:]]) ]]; then | 182 | ${menu_confirm} =~ (^|[[:space:]])"${selection}"($|[[:space:]]) ]]; then |
182 | ask_confirmation | 183 | ask_confirmation |
183 | else | 184 | else |
184 | i3-msg -q "exec ${menu[${selection}]}" | 185 | #i3-msg -q "exec ${menu[${selection}]}" |
186 | exec ${menu[${selection}]} | ||
185 | fi | 187 | fi |
186 | fi | 188 | fi |