updates for hyprland
This commit is contained in:
parent
8adb361b82
commit
7863e720c3
4 changed files with 213 additions and 176 deletions
|
@ -1,9 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
list_windows() (
|
||||
wlrctl window list
|
||||
)
|
||||
window=$(wlrctl window list | rofi -i -sync -dmenu -p " " -theme ~/.config/rofi/launchers-git/laptop-rbw-wayland.rasi)
|
||||
|
||||
window=$(wlrctl window list | rofi -i -sync -dmenu -p " " -theme ~/.config/rofi/launchers-git/laptop-rbw-wayland.rasi | awk '{print $1}' | sed 's/://')
|
||||
win=$(echo $window | awk '{print $1}' | sed 's/://')
|
||||
|
||||
wlrctl window focus $window
|
||||
if [ $win == "" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
wlrctl window focus $win
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue