diff options
author | clarkzjw <[email protected]> | 2023-01-12 10:16:47 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-01-12 10:16:47 -0800 |
commit | 319d5e31ecaee138833583291c550794abe7e20c (patch) | |
tree | 51e3a6c0096f2056c5d8a5950c3986c351b40339 /dot_config/i3/scripts/executable_powermenu | |
parent | 6689b3ce97a04f23e2d033e161c4a3a80b78b9e1 (diff) | |
download | dotfiles-319d5e31ecaee138833583291c550794abe7e20c.tar.gz |
i3
Diffstat (limited to 'dot_config/i3/scripts/executable_powermenu')
-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 |