remove texlive for now, add in steam
This commit is contained in:
parent
cde4e00d53
commit
a7409dccc5
2 changed files with 6 additions and 4 deletions
|
@ -1,15 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
window=$(wlrctl window list | rofi -i -sync -dmenu -p " " -theme ~/.config/rofi/launchers-git/laptop-rbw-wayland.rasi)
|
||||
json=$(hyprctl clients -j)
|
||||
window=$(echo $json | jq .[].title | rofi -i -sync -dmenu -p " " -theme ~/.config/rofi/launchers-git/laptop-rbw-wayland.rasi)
|
||||
|
||||
echo $window
|
||||
|
||||
win=$(echo $window | awk '{print $1}' | sed 's/://')
|
||||
win=$(echo $json | jq ".[] | select(.title==$window).address" | sed 's/"//g')
|
||||
|
||||
echo $win
|
||||
|
||||
if [ ! -z "$win" ]
|
||||
then
|
||||
wlrctl window focus $win
|
||||
hyprctl dispatch focuswindow address:$win
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue