code fixes

This commit is contained in:
rootniformaticaservice 2023-03-08 09:20:19 -03:00
parent ba9d2a2d65
commit fcb45d0aac
6 changed files with 2 additions and 2 deletions

View file

@ -10,4 +10,4 @@ TARGET=$(\
done | cut -c 1-100 | $XMENU | cut -d '|' -f 1)
sleep .1; # resolve conflicts with nowm_focuswatcher.sh using fzfmenu.sh
rwm_starship.sh "$TARGET" # focus target
rwm_mainrole.sh "$TARGET" # focus target

View file

@ -5,7 +5,7 @@
. $HOME/.config/rootwm/rwm_var
TARGET=$(pfw) # focused window
NAMES=$(cat $HOME/.config/rootwm/names)
NAMES="$HOME/.config/rootwm/names"
if [ "$(atomx WM_CLASS $TARGET)" = "$TERMINAL" ]; then # if any terminal is focused
atomx WM_NAME="_>$($XMENU < $NAMES)" $TARGET # change atom name