SetxKBMap przełącz

setxkbmap -option grp:alt_shift_toggle hr, ru -variant ,phonetic

# or simply add bellow line into any startup script like .xinitrc
# (Don't forget to edit and change the layouts you want to be toggled)

setxkbmap us,lk grp:alt_shift_toggle
Dull Dolphin