Various Linux scripts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
318 B

#!/bin/bash
#Создан: Ср 13 дек 2017 17:10:30
#Изменён: Ср 13 дек 2017 17:29:17
WINDOW=$(wmctrl -l | rofi -dmenu -hide-scrollbar -columns 8 -location 1 -width 100 -i -p "window:")
WINDOW_ID="$(echo "$WINDOW" | awk '{print $1}')"
if [ ! -z "$WINDOW_ID" ]; then
wmctrl -i -a "$WINDOW_ID"
fi