tweaks for hyprland and emacs
This commit is contained in:
parent
6001fa7e21
commit
73da080847
6 changed files with 29 additions and 11 deletions
|
@ -2,11 +2,14 @@
|
|||
|
||||
window=$(wlrctl window list | rofi -i -sync -dmenu -p " " -theme ~/.config/rofi/launchers-git/laptop-rbw-wayland.rasi)
|
||||
|
||||
echo $window
|
||||
|
||||
win=$(echo $window | awk '{print $1}' | sed 's/://')
|
||||
|
||||
if [ $win == "" ]
|
||||
echo $win
|
||||
|
||||
if [ ! -z "$win" ]
|
||||
then
|
||||
exit 0
|
||||
wlrctl window focus $win
|
||||
fi
|
||||
|
||||
wlrctl window focus $win
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue